Skip to content

Commit

Permalink
Update custom-shaders.md
Browse files Browse the repository at this point in the history
  • Loading branch information
willeastcott authored Dec 27, 2023
1 parent a2afda2 commit 0602a7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/zh/tutorials/custom-shaders.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ fragmentShader = fragmentShader + this.fs.resource;
// A shader definition used to create a new shader.
var shaderDefinition = {
attributes: {
aPosition: pc.SEMANTIC_POSITION,
aUv0: pc.SEMANTIC_TEXCOORD0
aPosition: pc.gfx.SEMANTIC_POSITION,
aUv0: pc.gfx.SEMANTIC_TEXCOORD0
},
vshader: vertexShader,
fshader: fragmentShader
Expand Down

0 comments on commit 0602a7d

Please sign in to comment.