So, I would like to use a shader with irrlicht with the following line:
texture BaseTex;
How can I pass a texture to the shader? The setVertexShaderConstant function is just for matrices, and vectors, isn't it? My question is probably newbish, but I cant find it out. Please help!
Search found 9 matches
- Mon Jun 18, 2007 4:42 pm
- Forum: Advanced Help
- Topic: How to pass a texture to a shader?
- Replies: 4
- Views: 1180
- Tue May 29, 2007 4:13 pm
- Forum: Bug reports
- Topic: [no bug]REFLECTION_2_LAYER in 1.3
- Replies: 1
- Views: 204
- Tue May 29, 2007 2:01 pm
- Forum: Bug reports
- Topic: [no bug]REFLECTION_2_LAYER in 1.3
- Replies: 1
- Views: 204
[no bug]REFLECTION_2_LAYER in 1.3
I think, I have found a bug in the newest version in irrlicht. I am working on a car simulator, and I am useing REFLECTION_2_LAYER for reflections. If I compile my code with teh 1.2 version of Irrlicht, everything is fine, the engine transforms the sphere image to the shape of the car. But the new v...
- Sat Dec 30, 2006 8:38 pm
- Forum: Beginners Help
- Topic: triangle3df
- Replies: 4
- Views: 176
- Sat Dec 30, 2006 6:01 pm
- Forum: Beginners Help
- Topic: triangle3df
- Replies: 4
- Views: 176
triangle3df
I couldn't find the answer to my question in the beginners topic, so I have to ask it here too. The question is that if I'we got a triangle3df triangle, how can I acces the coords of the verts of it.
I hope I was understandable, and my question wasn't too newbish
Joe
I hope I was understandable, and my question wasn't too newbish
Joe
- Sat Dec 30, 2006 3:58 pm
- Forum: Beginners Help
- Topic: triangle3df, getTriangles
- Replies: 2
- Views: 251
- Fri Dec 29, 2006 6:25 pm
- Forum: Beginners Help
- Topic: triangle3df, getTriangles
- Replies: 2
- Views: 251
triangle3df, getTriangles
Well, I have two questions: The first: I want to get all the polys of a scene node, and I would like to use Triangle selector for this. Here comes the first question: there is a very smart function, getTriangles. If I understand the command well (wich has not too big chance), it will write all teh t...
- Tue Oct 31, 2006 4:33 pm
- Forum: Beginners Help
- Topic: Poligon count, directional lights
- Replies: 2
- Views: 374
- Tue Oct 31, 2006 11:14 am
- Forum: Beginners Help
- Topic: Poligon count, directional lights
- Replies: 2
- Views: 374
Poligon count, directional lights
Hi!
I'm new to irrlicht, and I've got to know this two answers to continoue my project.
The first question: How can I create a Directional light? (An example, please!)
How can I get the number of the poligons in a mesh?
Please, reply soon!!
Thanks: Joe Red
I'm new to irrlicht, and I've got to know this two answers to continoue my project.
The first question: How can I create a Directional light? (An example, please!)
How can I get the number of the poligons in a mesh?
Please, reply soon!!
Thanks: Joe Red