Archived

This topic is now archived and is closed to further replies.

billybob

projective textures

Recommended Posts

billybob    134
in unreal tournament 2003 they have these nifty projective textures in the game that show on EVERYTHING. its a very neat effect and it appears to be very fast because doing stat render in the console shows there are usually about 10 in a view. it also uses them for decals which means they have to be pretty fast. basically its a texture that gets projected onto the scene and shows up on your weapon or other players and the levels. its dynamic too, not something precalculated because they''re used for decals, so i''m wondering if Direct3D or OpenGL has functions to help do this? i also know ut2003 uses stencil buffers a lot but doesn''t appear to have anything that uses them, could this be it?

Share this post


Link to post
Share on other sites
Yann L    1802
Yep, OpenGL and D3D both have everything you need to render projective textures in hardware. Here is an nVidia paper explaining how to do it.


[edited by - Yann L on October 22, 2002 2:08:16 PM]

Share this post


Link to post
Share on other sites