Search found 23 matches

by Slin
Sat May 31, 2008 11:24 pm
Forum: Code Snippets
Topic: [C++] Postprocessing class and shaders (GLSL and HLSL)
Replies: 41
Views: 27370

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 :)
by Slin
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...
by Slin
Sat May 31, 2008 9:12 pm
Forum: Code Snippets
Topic: [C++] Postprocessing class and shaders (GLSL and HLSL)
Replies: 41
Views: 27370

What are the specs of the system you are running it on?

And is there anyone it works for?
(I know of me and at least one other...)
by Slin
Sat May 31, 2008 6:00 pm
Forum: Code Snippets
Topic: [C++] Postprocessing class and shaders (GLSL and HLSL)
Replies: 41
Views: 27370

Halifax wrote: EDIT:

Well I tried running this demo, and I have to say, I got a crap load of shader compilation errors.
What kind of errors?
by Slin
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...
by Slin
Thu May 22, 2008 5:32 pm
Forum: Beginners Help
Topic: noob bumpmapping
Replies: 4
Views: 280

Your model has a material for each texture. Just get the pointer to each material and assign the second texture and the shader.
by Slin
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:
Image
by Slin
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...