mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-16 10:04:28 +02:00
#23 replace leading spaces by tabs in shader (solves const string limits)
This commit is contained in:
@@ -348,7 +348,6 @@ varying vec4 vTexCoord; // xy - atlas coords, zw - caustics coords
|
|||||||
}
|
}
|
||||||
|
|
||||||
float getShadow() {
|
float getShadow() {
|
||||||
// clamp(dot(lv, lv), 2.0), 0.0, 1.0);
|
|
||||||
#ifdef TYPE_ROOM
|
#ifdef TYPE_ROOM
|
||||||
float vis = min(dot(vNormal.xyz, vLightVec), vLightProj.w);
|
float vis = min(dot(vNormal.xyz, vLightVec), vLightProj.w);
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user