mirror of
https://github.com/patriciogonzalezvivo/thebookofshaders
synced 2024-11-11 13:10:57 +00:00
Update grid-making.frag
This commit is contained in:
parent
f2d2adb085
commit
04bf37329e
@ -21,7 +21,7 @@ void main() {
|
|||||||
st *= 3.0; // Scale up the space by 3
|
st *= 3.0; // Scale up the space by 3
|
||||||
st = fract(st); // Wrap arround 1.0
|
st = fract(st); // Wrap arround 1.0
|
||||||
|
|
||||||
// Now we have 3 spaces that goes from 0-1
|
// Now we have 9 spaces that go from 0-1
|
||||||
|
|
||||||
color = vec3(st,0.0);
|
color = vec3(st,0.0);
|
||||||
//color = vec3(circle(st,0.5));
|
//color = vec3(circle(st,0.5));
|
||||||
|
Loading…
Reference in New Issue
Block a user