@kosmonautgames wrote:
I have the wierdest bug right now and I am a bit baffled about what is happening.
Some shader acts wierd, it seems to be using wrong parameters.
I dig and find that it looks right when some other shader is not used.
I dig even further and find that it looks right when the other shader uses a different technique.
It seems like it's not related to my code.
So - 2 different shaders. They have no relationship, other than that they write to the same rendertarget.
They have parameters of the same name, but these are applied for each shader individually.
If 1 uses Technique1 the second one works, if 1 uses Technique2 the second one is broken. Nothing else changed.??????
EDIT: To specify the texture read is wrong for the second shader.
Posts: 4
Participants: 2