
Fast game so taking screenshots isn't easy and it looks much better in motion
video
Just look through the XEffect's source code, it's all there. Also, I am planning to contribute some fixed function projective texturing materials for Irrlicht, which don't require any shaders to work.I am to the point of starting a thread in hopes that someone will take my hand and lead me through this matrix hell.
I know! I have it right in front of me, trust meBlindSide wrote:Just look through the XEffect's source code, it's all there
Code: Select all
Texcoords.xy = Texcoords.xy * vec2(0.5, 0.5) + vec2(0.5, 0.5);
Code: Select all
if(clamp(Texcoords.xy, vec2(0.0, 0.0), vec2(1.0, 1.0)) == Texcoords.xy)
{
// Only use them here. Else it has no effect or is cleared to a flat color.
}