summaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
author0undefined <oscar@nelin.dk>2025-11-15 21:31:55 +0000
committer0undefined <oscar@nelin.dk>2025-11-15 21:31:55 +0000
commit256c2881866878b9d6dc9780635c69ef5a5311ae (patch)
tree20c2f76f3c5dc92e7c9fa189c3e095104e089af7 /resources
parent07442b35158cd7de03315a17694f3f3026207960 (diff)
Tiny cleanups
Diffstat (limited to 'resources')
-rw-r--r--resources/shader.frag6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/shader.frag b/resources/shader.frag
index 0b81464..b047227 100644
--- a/resources/shader.frag
+++ b/resources/shader.frag
@@ -9,12 +9,12 @@ out vec3 color;
uniform sampler2D textureSampler;
void main() {
- vec3 light_color_ambient = vec3(0.4, 0.6, 0.9);
+ vec3 light_color_ambient = vec3(0.5, 0.5, 1.0);
vec3 light_color_diffuse = vec3(0.8, 1.0, 1.0);
- vec3 lightpos = vec3(16, 26, 32);
+ vec3 lightpos = vec3(8, 15, 12);
- float ambient_strength = 0.3;
+ float ambient_strength = 0.5;
vec3 ambient = ambient_strength * light_color_ambient;
vec3 norm = normalize(Normal);