It uses the wrong texture pointer to display the water texture
REDDemon wrote:can you post a little project that reproduce the bug with the standard irrlicht.dll under visual studio?.. so simple example code, like the irrlicht example about shader usage. possibly with a project file for compiling it under visual studio?
If you run the shader example demo and select directx 9. does the console output shows DIRECTX with hlsl or OpenGL with glsl?
stefbuet wrote:It uses the wrong texture pointer to display the water texture
From what I see it's just that the shader didn't compile but shader input texture are still on the model and that's what you see. If the shader was compiled and running it would use texture informations but display other things.
This can happen if your graphic card is not new enough to support the shader, or as you're using ATI card it can be a problem with the shader because ATI is much more strict than NVidia with shader syntax. Use GPU ShaderAnalyzer from AMD to find out if the problem's coming from your card or the shader.
error X3501: 'main': entrypoint not found
error X3539: ps_1_x is no longer supported; use /Gec in fxc to automatically upgrade to ps_2_0
error X3539: Alternately, fxc's /LD option allows use of the old compiler DLL
BlindSide wrote:Yep, those errors usually indicate it's getting zero-length strings for the shaders. Glad you got it sorted.
Unknown Error Compiler Shader
Users browsing this forum: No registered users and 1 guest