Support Forum G3D Web Page |
Include into your shader to access the radiosityNormalMap(lightMap0, lightMap1, lightMap2, lightCoord, tsN) function, which returns a radiance sample from the Radiosity Normal Map specified by the first three parameters.
More...
Public Member Functions | |
vec3 | radiosityNormalMap (in sampler2D lightMap0, in sampler2D lightMap1, in sampler2D lightMap2, in vec2 lightCoord, in vec3 tsN) |
"radiosity normal map" (actually more like an irradiance map) used by Unreal Engine 3 and Source Engine. More... | |
Include into your shader to access the radiosityNormalMap(lightMap0, lightMap1, lightMap2, lightCoord, tsN) function, which returns a radiance sample from the Radiosity Normal Map specified by the first three parameters.
|
inline |
"radiosity normal map" (actually more like an irradiance map) used by Unreal Engine 3 and Source Engine.
Uses the Half-Life 2 basis. For more on radiosity normal maps, see http://www2.ati.com/developer/gdc/D3DTutorial10_Half-Life2_Shading.pdf.