Original Post
I''ve been messing around with projective texturing to test the theory, so this is the matrices that I used :
MatLightView x MatLightProjection x MatScale x MatTranslation
and it actually work but with a minor setback, which is :
- the texture is projected upside down
- I can''t change the size of the projection, hopefully if I move the light source position further the texture should be projected smaller.
- I have to divide the texture coordinates with 100 to get the result (which I found out later).
I don''t know much about the math behind this and I''ve been reading various stuffs each gives a different formula, can somebody tells me what''s wrong ??
Any info will do..
Thanks