mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-06-26 18:22:33 +08:00
initial setup for scene controller (functional concept)
This commit is contained in:
@ -898,7 +898,17 @@ void main() {
|
||||
#ifdef OVERWORLD_SHADER
|
||||
DirectLightColor = lightCol.rgb / 2400.0;
|
||||
AmbientLightColor = averageSkyCol_Clouds / 900.0;
|
||||
|
||||
#ifdef USE_CUSTOM_DIFFUSE_LIGHTING_COLORS
|
||||
DirectLightColor.rgb = luma(DirectLightColor.rgb) * vec3(DIRECTLIGHT_DIFFUSE_R,DIRECTLIGHT_DIFFUSE_G,DIRECTLIGHT_DIFFUSE_B);
|
||||
AmbientLightColor = luma(AmbientLightColor) * vec3(INDIRECTLIGHT_DIFFUSE_R,INDIRECTLIGHT_DIFFUSE_G,INDIRECTLIGHT_DIFFUSE_B);
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
shadowColor = DirectLightColor;
|
||||
|
||||
|
||||
|
||||
// #ifdef PER_BIOME_ENVIRONMENT
|
||||
// // BiomeSunlightColor(DirectLightColor);
|
||||
|
Reference in New Issue
Block a user