I have been using a modified version of the texture projection found in http://irrlicht.sourceforge.net/phpBB2/ ... projection but have come across a problem with texture boundaries causing. The same problem exists for shadow mapping but techniques like PCF solve the problem and I cannot find a way translate it to general texture projection.
The texture on the middle billboard is projected down onto the 8 spheres below the bounding box outline.
First closeup shows the jagged edges and incorrect colouring at projection edges.
View of the scene from which the projected texture was generated showing the texture projection.
Jagged edges in texture projection
You could fade out the projection with the dot product of the projection direction and the surface normal, this'll make the artifacts almost invisible.
This is part of the reason these artifacts aren't usually visible in shadow mapping, because the nDotL lighting makes them fade out smoothly.
This is part of the reason these artifacts aren't usually visible in shadow mapping, because the nDotL lighting makes them fade out smoothly.
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net