Projective texture mapping: Difference between revisions

Content deleted Content added
No edit summary
MaxDZ8 (talk | contribs)
Line 28:
The other problem is actually a mathematical issue. It is well known the matrix math used produces a back projection. This artifact has historically been avoided by using a special black and white texture to cut away unnecessary projecting contributions. Using pixel shaders a different approach can be used: and a coordinate check is sufficient to discriminate between foward (correct) contributions and backward (wrong, to be avoided) ones.
 
== References ==
#{{note|nvsdk_ptm}} The [http://developer.nvidia.com/object/Projective_Texture_Mapping.html original paper] from the [http://developer.nvidia.com nVIDIA developer web site] includes all the needed docuentation on this issue. The same site also contains [http://developer.nvidia.com/object/projective_textures.html additional hints].
#{{note|glEyeLinear}} Texture coordinate generation is covered in section 2.11.4 "Generating Texture Coordinates" from the [http://www.opengl.org/documentation/specs/ OpenGL 2.0 specification]. Eye linear texture coordinate generation is a special case.