Following to a_c's observation that the shader or light has
strange behavior in our last nightlies (noticed with griff coriolis),
I 've done some binary search in the revisions and after 6 test builds I found that
there is a difference in the shader behavior from r3132 to r3133.
Shader Guru's should take over from here. This is as far as I can help on that.
Strange shader behavior since r3133
Moderators: winston, another_commander, Getafix
- Getafix
- Quite Grand Sub-Admiral
- Posts: 979
- Joined: Tue Apr 01, 2008 12:55 pm
- Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
- Contact:
Strange shader behavior since r3133
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]
-
- Quite Grand Sub-Admiral
- Posts: 6633
- Joined: Wed Feb 28, 2007 7:54 am
Ahruman had already warned us in his commit of 3133 that removal of the tex0, tex1 etc. uniform bindings would break older shaders that made use of them. This is exactly what happened here. Putting back the following line above line 720 of current OOShaderMaterial.m fixes appearance of the Griff Coriolis again:
[self setUniform:[NSString stringWithFormat:@"tex%u", i] intValue:i];
It was immediately obvious what happened once you spotted the revision where things changed.
[self setUniform:[NSString stringWithFormat:@"tex%u", i] intValue:i];
It was immediately obvious what happened once you spotted the revision where things changed.
- Getafix
- Quite Grand Sub-Admiral
- Posts: 979
- Joined: Tue Apr 01, 2008 12:55 pm
- Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
- Contact:
Strange shader behavior since r3133
Obvious?!? Yeah, right... Have a look at my signature, man!another_comander wrote:It was immediately obvious what happened...
--- Getafix is logging out annoyed by that continuous static noise in his head ---
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]