mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-15 01:24:35 +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() {
|
||||
// clamp(dot(lv, lv), 2.0), 0.0, 1.0);
|
||||
#ifdef TYPE_ROOM
|
||||
float vis = min(dot(vNormal.xyz, vLightVec), vLightProj.w);
|
||||
#else
|
||||
|
Reference in New Issue
Block a user