summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xres/shaders/simple_shader.vert2
-rw-r--r--res/shaders/simple_shader.vert.spvbin2520 -> 2816 bytes
2 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
diff --git a/res/shaders/simple_shader.vert.spv b/res/shaders/simple_shader.vert.spv
index 7b4a820..bba7f70 100644
--- a/res/shaders/simple_shader.vert.spv
+++ b/res/shaders/simple_shader.vert.spv
Binary files differ