diff options
Diffstat (limited to 'res/shaders/simple_shader.vert')
-rwxr-xr-x | res/shaders/simple_shader.vert | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/shaders/simple_shader.vert b/res/shaders/simple_shader.vert index be802f7..55b0199 100755 --- a/res/shaders/simple_shader.vert +++ b/res/shaders/simple_shader.vert @@ -26,5 +26,5 @@ void main() { float lightIntensity = AMBIENT + max(dot(normalWorldSpace, ubo.directionToLight), 0); - fragColor = lightIntensity * color; + fragColor = lightIntensity * vec3(1/position.y,position.y,clamp(sin(position.x - position.z), 0, 1)); }
\ No newline at end of file |