mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-07-04 06:21:37 +00:00
Fix shadows
This commit is contained in:
parent
b82ee4872d
commit
8966e88050
1 changed files with 4 additions and 1 deletions
|
@ -32,8 +32,11 @@
|
||||||
SH_BEGIN_PROGRAM
|
SH_BEGIN_PROGRAM
|
||||||
shUniform(float4x4, wvp) @shAutoConstant(wvp, worldviewproj_matrix)
|
shUniform(float4x4, wvp) @shAutoConstant(wvp, worldviewproj_matrix)
|
||||||
|
|
||||||
#if VIEWPROJ_FIX
|
#if (VIEWPROJ_FIX) || (SHADOWS)
|
||||||
shUniform(float4x4, worldMatrix) @shAutoConstant(worldMatrix, world_matrix)
|
shUniform(float4x4, worldMatrix) @shAutoConstant(worldMatrix, world_matrix)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if VIEWPROJ_FIX
|
||||||
shUniform(float4, vpRow2Fix) @shSharedParameter(vpRow2Fix, vpRow2Fix)
|
shUniform(float4, vpRow2Fix) @shSharedParameter(vpRow2Fix, vpRow2Fix)
|
||||||
shUniform(float4x4, vpMatrix) @shAutoConstant(vpMatrix, viewproj_matrix)
|
shUniform(float4x4, vpMatrix) @shAutoConstant(vpMatrix, viewproj_matrix)
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue