FIX stochastic shadows on IRIS. add filter option for SSAO and all SSS types. imrpove fog upsampling (even when DH is being used). ambient light is more consistent across all types of weather. tweak cloud lighting.

This commit is contained in:
Xonk
2024-02-16 21:28:13 -05:00
parent f99a3c33b5
commit 088b8206c1
19 changed files with 696 additions and 241 deletions

View File

@ -2,8 +2,11 @@
varying vec2 texcoord;
flat varying vec3 zMults;
flat varying vec3 zMults_DH;
uniform float far;
uniform float near;
uniform float dhFarPlane;
uniform float dhNearPlane;
flat varying vec2 TAA_Offset;
uniform int framemod8;
@ -37,6 +40,8 @@ void main() {
TAA_Offset = offsets[framemod8];
zMults = vec3(1.0/(far * near),far+near,far-near);
zMults_DH = vec3(1.0/(dhFarPlane * dhNearPlane),dhFarPlane+dhNearPlane,dhFarPlane-dhNearPlane);
gl_Position = ftransform();
texcoord = gl_MultiTexCoord0.xy;