mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-06-27 02:32:39 +08:00
add flashlight effects. add TAA jitter toggle for DH LOD, force responsive TAA jitter on DH. add adjustable health thresholds for damage effects..
This commit is contained in:
@ -44,6 +44,8 @@ uniform float far;
|
||||
#endif
|
||||
|
||||
|
||||
uniform int framemod4_DH;
|
||||
#define DH_TAA_OVERRIDE
|
||||
#include "/lib/TAA_jitter.glsl"
|
||||
|
||||
|
||||
@ -117,8 +119,8 @@ void main() {
|
||||
#ifdef TAA_UPSCALING
|
||||
gl_Position.xy = gl_Position.xy * RENDER_SCALE + RENDER_SCALE * gl_Position.w - gl_Position.w;
|
||||
#endif
|
||||
#ifdef TAA
|
||||
gl_Position.xy += offsets[framemod8] * gl_Position.w*texelSize;
|
||||
#if defined TAA && defined DH_TAA_JITTER
|
||||
gl_Position.xy += offsets[framemod4_DH] * gl_Position.w*texelSize;
|
||||
#endif
|
||||
|
||||
#if DOF_QUALITY == 5
|
||||
|
Reference in New Issue
Block a user