I'm trying to implement radiosity normal maps from the old Valve paper:
Half-Life® 2 / Valve Source™ Shading.pdf | valvesoftware.com
I've tried generating the light maps using Vray and 3dStudio max, by overriding the normals to point in these three directions:
It works to an extent, applying normal maps over walls and such makes them appear like they are light mapped and bumpy. It's when I set the normal map to (128,128,255) that i can't get the same result as if it were a regular light map and i see artifacts.
I'm not sure if understand at all how the basis is used to capture light, so i omitted the GI part and tried to bake just a directional light.
If i set a directional light at (-1,0,0)
in the basis from the picture above, the first dot product (red arrow) will be less than 0, however both the green and the blue will get some value from that light.
Same way if i set it at (1,0,0)
there will be some value greater than 0, and two less than.
This doesn't make sense, the directional light at this angle shouldn't contribute any light to this surface?
The white arrow represents the light dir to be baked. The red one is pretty affected by it, but then scaling it by 1/3 doesn't really help much. It feels like it's missing some negative light (?).
Here it is with (1,1,1) normalized ^