context:shader(name),
where name is the shader asset’s name as added in the editor (e.g.
“myEffect” — no “.wgsl” extension). Raw WGSL source strings are not
accepted at runtime.context:shader(name),
where name is the shader asset’s name as added in the editor (e.g.
“myEffect” — no “.wgsl” extension). Raw WGSL source strings are not
accepted at runtime.