Skip to content

Commit 3cd62bf

Browse files
committed
update readme
1 parent 001cf6c commit 3cd62bf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,12 @@ Here's a hypothetical example of linear fog calculated in a vertex shader:
1313
#define FOG_START 100
1414
#define FOG_END 500
1515
16+
uniform mat4 projection;
17+
uniform mat4 view;
18+
uniform mat4 model;
19+
20+
attribute vec3 position;
1621
varying float fogAmount;
17-
uniform vec3 position;
1822
1923
#pragma glslify: fog_linear = require(glsl-fog/linear)
2024

0 commit comments

Comments
 (0)