Quake 3-like texture shaders!
Totally automated, and time-independent. Just create the shader, then call UpdateTexShaders() before your RenderWorld. I called this 'tex' shaders because I intend to add a vertex shader lib. Obviously, a vertex shader will only be able to do things Blitz3D can do, but I have some cool ideas, like pulsating meshes and refracting water.
The final version has scroll, spin, pulse, wave, sawtooth, and strobe shaders.
Get it here:
http://www.leadwerks.com/post/TexShaders.zip
It's nothing you can't do with Blitz code, but putting it all in a DLL standardizes it and makes it accessible from any program. The management is really easy, with just an UpdateTexShaders() call at any time.
Totally automated, and time-independent. Just create the shader, then call UpdateTexShaders() before your RenderWorld. I called this 'tex' shaders because I intend to add a vertex shader lib. Obviously, a vertex shader will only be able to do things Blitz3D can do, but I have some cool ideas, like pulsating meshes and refracting water.
The final version has scroll, spin, pulse, wave, sawtooth, and strobe shaders.
Get it here:
http://www.leadwerks.com/post/TexShaders.zip
It's nothing you can't do with Blitz code, but putting it all in a DLL standardizes it and makes it accessible from any program. The management is really easy, with just an UpdateTexShaders() call at any time.