"fixed" aerochrome on dh chunks...

its pretty far from perfect
This commit is contained in:
Sasha
2024-03-14 21:18:50 +00:00
parent 85a1b68bf0
commit d43e821ef2
4 changed files with 22 additions and 3 deletions

View File

@ -7,6 +7,7 @@ varying vec2 lightmapCoords;
varying vec4 normals_and_materials;
flat varying float SSSAMOUNT;
flat varying float EMISSIVE;
flat varying int dh_material_id;
uniform vec2 texelSize;
uniform int framemod8;
@ -83,6 +84,7 @@ void main() {
float MATERIALS = 0.65;
normals_and_materials = vec4(normalize(gl_NormalMatrix * gl_Normal), MATERIALS);
dh_material_id = dhMaterialId;
#if DOF_QUALITY == 5
vec2 jitter = clamp(jitter_offsets[frameCounter % 64], -1.0, 1.0);