Skip to content
Browse files

Fixed shader compilation errors.

  • Loading branch information...
1 parent e959d6c commit 89d8a19dabfd1fb9b1322ffe704e8c11d8a33377 @hiker hiker committed Jun 11, 2014
Showing with 2 additions and 0 deletions.
  1. +1 −0 data/shaders/fog.frag
  2. +1 −0 data/shaders/sunlight.frag
View
1 data/shaders/fog.frag
@@ -12,6 +12,7 @@ uniform mat4 ViewMatrix;
uniform mat4 ProjectionMatrix;
uniform mat4 InverseViewMatrix;
uniform mat4 InverseProjectionMatrix;
+uniform vec2 screen;
#else
layout (std140) uniform MatrixesData
{
View
1 data/shaders/sunlight.frag
@@ -13,6 +13,7 @@ uniform mat4 ViewMatrix;
uniform mat4 ProjectionMatrix;
uniform mat4 InverseViewMatrix;
uniform mat4 InverseProjectionMatrix;
+uniform vec2 screen;
#else
layout (std140) uniform MatrixesData
{

0 comments on commit 89d8a19

Please sign in to comment.
Something went wrong with that request. Please try again.