From 8cc0b081ef0188f850814b2af2cb077583eb9f2d Mon Sep 17 00:00:00 2001 From: tylermurphy534 Date: Mon, 19 Sep 2022 21:28:41 -0400 Subject: finish refactor --- res/shaders/simple_shader.vert | 2 +- res/shaders/simple_shader.vert.spv | Bin 2520 -> 2816 bytes 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'res/shaders') 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 Binary files a/res/shaders/simple_shader.vert.spv and b/res/shaders/simple_shader.vert.spv differ -- cgit v1.2.3-freya