We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6344b55 commit 6b5f551Copy full SHA for 6b5f551
assets/shaders/howto-texture.wgsl
@@ -10,7 +10,7 @@ fn fragment(in: VertexOutput) -> @location(0) vec4<f32> {
10
// ensure our uv coords match shadertoy/the-lil-book-of-shaders
11
let texture_uvs = in.uv;
12
13
- let tex: vec4f = texture_sample(texture, texture_sampler, texture_uvs);
+ let tex: vec4f = textureSample(texture, texture_sampler, texture_uvs);
14
15
return tex;
16
}
0 commit comments