I GOT IT! In the OnSetConstants callback, the 'tex1' constant wasn't being set correctly.
You have to make an INT, then cast it as (float *) &var
Search found 8 matches
- Tue Feb 27, 2007 4:33 pm
- Forum: Advanced Help
- Topic: Sending Textures and Lightmap of BSP to Shader
- Replies: 3
- Views: 628
- Tue Feb 27, 2007 2:29 am
- Forum: Advanced Help
- Topic: Sending Textures and Lightmap of BSP to Shader
- Replies: 3
- Views: 628
- Tue Feb 27, 2007 12:39 am
- Forum: Beginners Help
- Topic: Importing Valve Hammer Maps
- Replies: 10
- Views: 1071
I was going to implement a .map loader for irrlicht but when I found out that each quad was actually the intersection of planes defined by three points, I decided that I value my sanity more than a .map loader! :) I might just do it make a python script that will translate it another format that ...
- Tue Feb 27, 2007 12:18 am
- Forum: Advanced Help
- Topic: Sending Textures and Lightmap of BSP to Shader
- Replies: 3
- Views: 628
Sending Textures and Lightmap of BSP to Shader
Is it even possible? I'm trying to write a shader that will negate the the bsp textures. I got the textures to turn negative easily but the only thing is that the lightmap does not render. I checked the shader with TyphoonLab's Shader Designer and it works fine but when I run my program with it, the ...
- Thu Feb 22, 2007 11:45 pm
- Forum: Beginners Help
- Topic: Accessing CollisionResponseAnimator functions
- Replies: 3
- Views: 476
- Wed Feb 21, 2007 3:49 pm
- Forum: Beginners Help
- Topic: Gravity enable/disable with CheckBox?
- Replies: 6
- Views: 656
- Wed Feb 21, 2007 3:41 pm
- Forum: Beginners Help
- Topic: Accessing CollisionResponseAnimator functions
- Replies: 3
- Views: 476
Accessing CollisionResponseAnimator functions
I have a camera with a CollisionResponseAnimator and I need to change the gravity. How would I access the isFalling and setGravity functions of the SceneNodeAnimatorCollisionResponse class through the camera? Is it even possible? Is something like camera->getAnimators[0]->setGravity(1.0f) starting ...
- Mon Feb 19, 2007 3:31 am
- Forum: Beginners Help
- Topic: Importing Valve Hammer Maps
- Replies: 10
- Views: 1071
Importing Valve Hammer Maps
Is there any way to import a valve hammer editor map (.map or .rmf) into a scene-node? Maybe a conversion program to convert it into something Irrlicht can load or a snippet to load it in directly?