Skip to content

Commit

Permalink
Close #11
Browse files Browse the repository at this point in the history
  • Loading branch information
lwjglgamedev committed Nov 26, 2023
1 parent 99a9929 commit 93a593e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chapter-20/resources/shaders/scene.vert
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ out vec3 outBitangent;
out vec2 outTextCoord;
out vec4 outViewPosition;
out vec4 outWorldPosition;
out uint outMaterialIdx;
flat out uint outMaterialIdx;

struct DrawElement
{
Expand Down
2 changes: 1 addition & 1 deletion chapter-21/resources/shaders/scene.vert
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ out vec3 outBitangent;
out vec2 outTextCoord;
out vec4 outViewPosition;
out vec4 outWorldPosition;
out uint outMaterialIdx;
flat out uint outMaterialIdx;

struct DrawElement
{
Expand Down

0 comments on commit 93a593e

Please sign in to comment.