Posted: Mon Jul 26, 2010 1:55 pm
That definitely will not make a difference. However, for efficiency it should be written:Griff wrote:it's written as vEnvTexCoord.s & vEnvTexCoord.t at the moment, maybe the fragment shader doesn't like that?Code: Select all
vEnvTexCoord.x = r.x/m + 0.5; vEnvTexCoord.y = r.y/m + 0.5;
Code: Select all
vEnvTexCoord = r / m + 0.5;