Real time specular on lightmapped geometry
by Dave Dunlap · in Torque 3D Professional · 10/09/2009 (2:18 pm) · 5 replies
Can it be done? When I put a light in the scene, it seems to not affect the geometry at all if it has a light map on it. It would be nice to be able to get dynamic specular highlights to complement the static light map.
#2
10/09/2009 (4:28 pm)
Check EnableAdvancedLightmapSupport in the level info. This turns on population of deferred light buffer with lightmap data (uses MRTs), which will allow for specular to be cast from lightsources, without them actually casting diffuse lighting.
#3
@Pat Thanks, that does work in AL, but I could not get it to work in BL. Does this only work in advanced?
10/09/2009 (5:52 pm)
@Steve Yes, I'm in BL.@Pat Thanks, that does work in AL, but I could not get it to work in BL. Does this only work in advanced?
#4
10/09/2009 (6:11 pm)
Yes, this only works in advanced.
#5
10/09/2009 (6:29 pm)
Specular effects only works in AL, it's not limited to lightmapped geometry. This is to keep the BL shader simple.
Associate Steve Acaster
[YorkshireRifles.com]
Normal/Specular in AL works fine. AL top, BL bottom.