bugzilla.mozilla.org will be intermittently unavailable on Saturday, March 24th, from 16:00 until 20:00 UTC.
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/15.0 Firefox/15.0a1 Build ID: 20120503030512 Steps to reproduce: Wrote a simple parallax/raytracing shader, that uses 2 textures (1:color 2:height information). I loop over the texture with the height information and when finished, get the color from the other texture at the new position. Shader program compiles with no errors. PS: I use three.js, but everything works before reaching the shader. Actual results: The effect looks correct, but a wrong texture is used (some kind of combination of the second texture and its alpha-chanel). It has completely different colors than the proper texture. On one machine it even changed always from the texture described above and the second texture after pressing F5. This effect also happens in Chrome, so it might be caused by the ANGLE lib. Expected results: The final color is determined by a single texture2D call and it should be displayed instead of the actual colors that really differ from it. The proper color appears, if you comment out the for-loop in the fragment shader.
Attachment #621359 - Attachment mime type: text/plain → text/html
Created attachment 621363 [details] corrected version of the testcase I used the wrong texture in the first version - sorry about that
Attachment #621359 - Attachment is obsolete: true
Attachment #621363 - Attachment mime type: text/plain → text/html
Sorry for molesting you and taking your time. I used three.js wrong, assigned 2 textures to the same texture slot.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.