From fd0c362bb19f71a5f4b2d8551936ca34864293d8 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Fri, 5 Aug 2016 20:47:18 +0200 Subject: [PATCH] Fix shader compilation on Windows+Intel --- client/shader/weather.vert | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/shader/weather.vert b/client/shader/weather.vert index b976a562..0403b6c1 100644 --- a/client/shader/weather.vert +++ b/client/shader/weather.vert @@ -1,4 +1,4 @@ - #version 330 +#version 330 in vec3 position; in vec3 point; @@ -7,8 +7,8 @@ uniform mat4 proj_matrix; uniform mat4 view_matrix; uniform mat4 scaling_matrix; uniform int form; -uniform vec4 sun_color; -uniform vec4 sky_light; +uniform vec3 sun_color; +uniform vec3 sky_light; out vec2 out_position;