mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-30 18:36:43 +00:00
Fix initialization problem
This commit is contained in:
parent
0f6fd80294
commit
ac0a23a68d
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@
|
|||
#if VERTEX_LIGHTING
|
||||
float3 lightDir;
|
||||
float d;
|
||||
|
||||
lightResult = float3(0,0,0);
|
||||
@shForeach(@shGlobalSettingString(num_lights))
|
||||
lightDir = lightPosition[@shIterator].xyz - (shInputPosition.xyz * lightPosition[@shIterator].w);
|
||||
d = length(lightDir);
|
||||
|
|
Loading…
Reference in a new issue