bradleyq / mc_vanilla_shaders

MC vanilla fabulous shaders
MIT License
244 stars 5 forks source link

adjusting block light color #19

Closed yubato closed 1 year ago

yubato commented 2 years ago

I want to set block light in the dev version to be more white/closer to vanilla instead of yellow. Are there any variables I can adjust?

bradleyq commented 1 year ago

shaders/include/light.glsl line 26: vec4(1.2, 0.80, 0.45, 1.0) Change this to whatever color you want.

blank3times commented 1 year ago

Is that rgba or hsva? The x is greater than 1 so how does that work? ^-^

bradleyq commented 1 year ago

rgba. As it is right now there is some clipping since MC only supports RGBA8 output. I will probably change this later when I introduce HDR using some hacks.

blank3times commented 1 year ago

Thank you!