1
0
Fork 0

Workaround to make the landmass shader work on MacOSX, contributed by Olaf Flebbe

This commit is contained in:
Frederic Bouvier 2012-04-16 08:53:18 +02:00
parent 40f0b5f242
commit a8863ad2b8

View file

@ -7,13 +7,13 @@
// A geometry shader should do as little computation as possible. // A geometry shader should do as little computation as possible.
// See landmass-g.vert for a description of the inputs. // See landmass-g.vert for a description of the inputs.
varying in vec4 rawposIn[]; varying in vec4 rawposIn[3];
varying in vec3 NormalIn[]; varying in vec3 NormalIn[3];
varying in vec4 ecPosIn[]; varying in vec4 ecPosIn[3];
varying in vec3 ecNormalIn[]; varying in vec3 ecNormalIn[3];
varying in vec3 VTangentIn[]; varying in vec3 VTangentIn[3];
varying in vec3 VBinormalIn[]; varying in vec3 VBinormalIn[3];
varying in vec4 constantColorIn[]; varying in vec4 constantColorIn[3];
uniform float canopy_height; uniform float canopy_height;