Hello guys,
Can I load an image inside shader callback, and not use a material Layer?
If yes, this can save one layer to me use the 4 layers to another thing?
I thought the following:
All my cars will have the same reflection image, so I could load it directly in the callback and use the cars material layers for another thing....
Thanks
Loading image inside shader callback
-
- Posts: 260
- Joined: Thu Apr 17, 2008 1:38 pm
- Location: Brasopolis - Brazil
Loading image inside shader callback
Professional Software Developer and Amateur Game Designer 

-
- Posts: 260
- Joined: Thu Apr 17, 2008 1:38 pm
- Location: Brasopolis - Brazil
I don't think so
Unless you send the color of the texels as an array of floats(insane)
If you need more textures per material(up to
, change the define in the irrlicht compile config and recompile irrlicht
Unless you send the color of the texels as an array of floats(insane)
If you need more textures per material(up to

irrRenderer 1.0
Height2Normal v. 2.1 - convert height maps to normal maps
Step back! I have a void pointer, and I'm not afraid to use it!
Height2Normal v. 2.1 - convert height maps to normal maps
Step back! I have a void pointer, and I'm not afraid to use it!
-
- Posts: 260
- Joined: Thu Apr 17, 2008 1:38 pm
- Location: Brasopolis - Brazil