Speculative fix for shader cast issue on Mac.
This commit is contained in:
parent
7b277810a8
commit
08243eb083
4 changed files with 9 additions and 9 deletions
|
@ -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>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
// color - xyz of tree quad origin, replicated 4 times.
|
||||
#version 120
|
||||
|
||||
uniform int season;
|
||||
uniform float season;
|
||||
|
||||
void main() {
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
//
|
||||
// void fog_Func(int type);
|
||||
// /////////////////////////
|
||||
uniform int season;
|
||||
uniform float season;
|
||||
|
||||
void main(void)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue