mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 13:59:19 +02:00
if/ifdef fix
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
float calc_shadow()
|
||||
{
|
||||
#ifdef SHADOWMAP_ENABLED
|
||||
#if SHADOWMAP_ENABLED
|
||||
vec3 coords = f_light_pos.xyz / f_light_pos.w;
|
||||
|
||||
if (coords.z < 0.0f)
|
||||
|
||||
Reference in New Issue
Block a user