That is exactly what I already did (both, the renaming and the define)
It seems to be a problem with ATI cards that it doesn´t work as expected. Is it possible that it does not work because of something with the texture sizes?
Thanks for your help
Search found 23 matches
- Sat May 31, 2008 11:24 pm
- Forum: Code Snippets
- Topic: [C++] Postprocessing class and shaders (GLSL and HLSL)
- Replies: 41
- Views: 27370
- Sat May 31, 2008 10:38 pm
- Forum: Code Snippets
- Topic: [C++] Postprocessing class and shaders (GLSL and HLSL)
- Replies: 41
- Views: 27370
Yes correct, 'tex2D' belongs to HLSL. I don´t understand why it works fine for me and some others, but that is probably okay. This code was my first contact with GLSL and thus I don´t really know the differences between HLSL and GLSL yet. I changed it in my files and will upload it together with th...
- Sat May 31, 2008 9:12 pm
- Forum: Code Snippets
- Topic: [C++] Postprocessing class and shaders (GLSL and HLSL)
- Replies: 41
- Views: 27370
- Sat May 31, 2008 6:00 pm
- Forum: Code Snippets
- Topic: [C++] Postprocessing class and shaders (GLSL and HLSL)
- Replies: 41
- Views: 27370
- Fri May 30, 2008 7:20 pm
- Forum: Code Snippets
- Topic: [C++] Postprocessing class and shaders (GLSL and HLSL)
- Replies: 41
- Views: 27370
[C++] Postprocessing class and shaders (GLSL and HLSL)
I am very new to Irrlicht and coding in C++, but worked with GameStudio for the last five years. During that time I learned very little C++, C-Script, Lite-C and HLSL. At the moment I am really interested in graphics programming and thus nearly the first thing I wanted to get working with Irrlicht w...
- Thu May 22, 2008 5:32 pm
- Forum: Beginners Help
- Topic: noob bumpmapping
- Replies: 4
- Views: 280
- Sun May 18, 2008 5:45 pm
- Forum: Beginners Help
- Topic: Tangent and second UV-Set
- Replies: 1
- Views: 157
Tangent and second UV-Set
I found out that it is not possible without messing around with the engines sourcecode.
This is basicly what I want but with some nicer calculations:
This is basicly what I want but with some nicer calculations:
- Sat May 17, 2008 9:37 am
- Forum: Beginners Help
- Topic: Tangent and second UV-Set
- Replies: 1
- Views: 157
Tangent and second UV-Set
Hey, I am trying to combine a tangentspace normal mapping shader with lightmapping. It works so far but I don´t know how to set the tangent and the second texcoords at the same time. There is createMeshWithTangents() and createMeshWith2TCoords(), is there any way to combine that? If yes, how? Thanks...