make new specular settings functional

This commit is contained in:
Xonk 2024-11-15 20:08:03 -05:00 committed by MikiP98
parent ebbd25cd27
commit 9b80b3ba97
3 changed files with 26 additions and 2 deletions

View File

@ -371,6 +371,15 @@ uniform vec3 eyePosition;
#define FORWARD_BACKGROUND_REFLECTION
#define FORWARD_ROUGH_REFLECTION
#ifdef FORWARD_SPECULAR
#endif
#ifdef FORWARD_ENVIORNMENT_REFLECTION
#endif
#ifdef FORWARD_BACKGROUND_REFLECTION
#endif
#ifdef FORWARD_ROUGH_REFLECTION
#endif
#include "/lib/specular.glsl"
//////////////////////////////VOID MAIN//////////////////////////////

View File

@ -220,6 +220,15 @@ vec2 decodeVec2(float a){
#define DEFERRED_BACKGROUND_REFLECTION
#define DEFERRED_ROUGH_REFLECTION
#ifdef DEFERRED_SPECULAR
#endif
#ifdef DEFERRED_ENVIORNMENT_REFLECTION
#endif
#ifdef DEFERRED_BACKGROUND_REFLECTION
#endif
#ifdef DEFERRED_ROUGH_REFLECTION
#endif
#include "/lib/specular.glsl"

View File

@ -192,7 +192,13 @@ SHADER_VERSION_LABEL <empty> \
screen.Resource_Pack_Support = [Reflections] [Emissives] [Subsurface_Scattering] [POM] [Porosity] MATERIAL_AO RESOURCEPACK_SKY
screen.Reflections.columns=2
screen.Reflections = Specular_Reflections Sun_specular_Strength Screen_Space_Reflections reflection_quality Rough_reflections Roughness_Threshold Sky_reflection Dynamic_SSR_quality
# screen.Reflections = Specular_Reflections Sun_specular_Strength Screen_Space_Reflections reflection_quality Rough_reflections Roughness_Threshold Sky_reflection Dynamic_SSR_quality
screen.Reflections = \
DEFERRED_SPECULAR FORWARD_SPECULAR \
DEFERRED_ENVIORNMENT_REFLECTION FORWARD_ENVIORNMENT_REFLECTION \
DEFERRED_BACKGROUND_REFLECTION FORWARD_BACKGROUND_REFLECTION \
DEFERRED_ROUGH_REFLECTION FORWARD_ROUGH_REFLECTION \
Sun_specular_Strength Roughness_Threshold
screen.Subsurface_Scattering.columns=1
screen.Subsurface_Scattering = SSS_TYPE sss_density_multiplier sss_absorbance_multiplier LabSSS_Curve <empty> MISC_BLOCK_SSS MOB_SSS <empty> Ambient_SSS ambientsss_brightness