Skip to content

Commit

Permalink
Update MRT page to be up to date with engine renames (#516)
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Valigursky <[email protected]>
  • Loading branch information
mvaligursky and Martin Valigursky authored Jul 21, 2023
1 parent 113b8a2 commit 538b609
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ materials.forEach((material) => {
material.chunks.outputPS = `
#ifdef MYMRT_PASS
// output world normal to target 1
pcFragColor1 = vec4(litShaderArgs.worldNormal * 0.5 + 0.5, 1.0);
pcFragColor1 = vec4(litArgs_worldNormal * 0.5 + 0.5, 1.0);
// output gloss to target 2
pcFragColor2 = vec4(vec3(litShaderArgs.gloss) , 1.0);
pcFragColor2 = vec4(vec3(litArgs_gloss) , 1.0);
#endif
`;
});
Expand Down

0 comments on commit 538b609

Please sign in to comment.