Skip to content

Commit 22114aa

Browse files
authored
Update README.md
In shadow.vsh, the Color = gl_Color; line existed twice, once outside the function, once inside, causing issues. Removing one fixed this!
1 parent 7574d4d commit 22114aa

File tree

1 file changed

+1
-1
lines changed
  • Tutorial 4 - Advanced Shadow Mapping

1 file changed

+1
-1
lines changed

Tutorial 4 - Advanced Shadow Mapping/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ void main(){
8383
gl_Position.xy = DistortPosition(gl_Position.xy);
8484
TexCoords = gl_MultiTexCoord0.st;
8585
Color = gl_Color;
86-
} Color = gl_Color;
86+
}
8787
```
8888

8989
And in `shadow.fsh`:

0 commit comments

Comments
 (0)