I want to use lightmaps for model and csg level geometry. Before I was using shaders I just baked the shadows onto my models. But when I looked up in the manual I found that eg (spec)bump shader supports light maps. So my question: where do I put the lightmap in? At the moment I am using 24bit texture + 32bit bump + specmap in the alpha channel.
The engine puts the lightmap in entSkin2. Also you have to sample it with the second UV-Texcoord set (in float2 LMapTex : TEXCOORD1) as Sid already mentioned.
Re: lightmaps for shaders?
[Re: Hummel]
#390570 01/02/1210:5401/02/1210:54