Game Development Community

SgDecalProjector on Atlas terrains

by StudioVF · in Game Design and Creative Issues · 01/10/2009 (1:09 pm) · 2 replies

Currently the sgDecalProjector doesn't work on atlas terrains.
I thought it might be very useful in some places...
It can be very useful, in my point of view, for adding some additional details to the terrain (e.g. blood splatters, additional textures).
Has anyone got it to work with atlas terrains, and if so how?

About the author

Professional web design and 2D/3D workshop. In market since year 2005. Working on projects worldwide.


#1
01/10/2009 (1:43 pm)
It works on Atlas. Search for castRay calls in the source file which holds SgDecalProjector and add AtlasObjectType to the mask.
#2
01/10/2009 (2:11 pm)
Oh, thanks for the fix Stefan. It works now.