1
0
Fork 0

Speculative fix for shader cast issue on Mac.

This commit is contained in:
Stuart Buchanan 2013-05-31 19:50:57 +01:00
parent 7b277810a8
commit 08243eb083
4 changed files with 9 additions and 9 deletions

View file

@ -132,7 +132,7 @@
</uniform>
<uniform>
<name>season</name>
<type>int</type>
<type>float</type>
<value><use>season</use></value>
</uniform>
<uniform>
@ -254,7 +254,7 @@
</uniform>
<uniform>
<name>season</name>
<type>int</type>
<type>float</type>
<value><use>season</use></value>
</uniform>
<uniform>
@ -310,7 +310,7 @@
</program>
<uniform>
<name>season</name>
<type>int</type>
<type>float</type>
<value><use>season</use></value>
</uniform>
<uniform>
@ -412,7 +412,7 @@
</uniform>
<uniform>
<name>season</name>
<type>int</type>
<type>float</type>
<value><use>season</use></value>
</uniform>
<!-- END fog include -->
@ -506,7 +506,7 @@
</uniform>
<uniform>
<name>season</name>
<type>int</type>
<type>float</type>
<value><use>season</use></value>
</uniform>
<!-- END fog include -->
@ -598,7 +598,7 @@
</uniform>
<uniform>
<name>season</name>
<type>int</type>
<type>float</type>
<value><use>season</use></value>
</uniform>
</pass>

View file

@ -5,7 +5,7 @@
// color - xyz of tree quad origin, replicated 4 times.
#version 120
uniform int season;
uniform float season;
void main() {

View file

@ -38,7 +38,7 @@ uniform float overcast;
//uniform float scattering;
uniform float ground_scattering;
uniform float snow_level;
uniform int season;
uniform float season;
float earthShade;
float mie_angle;

View file

@ -12,7 +12,7 @@
//
// void fog_Func(int type);
// /////////////////////////
uniform int season;
uniform float season;
void main(void)
{