mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-06-18 00:41:54 +00:00
skybox shader - only apply brightness to the color channels
This commit is contained in:
BIN
PCK-Studio/Resources/armor.png
Normal file
BIN
PCK-Studio/Resources/armor.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
@@ -9,5 +9,5 @@ in vec3 texCoords;
|
||||
|
||||
void main()
|
||||
{
|
||||
color = texture(skybox, texCoords) * vec4(vec3(clamp(brightness, 0.0, 1.0)), 1.0);
|
||||
color = vec4(texture(skybox, texCoords).rgb * clamp(brightness, 0.0, 1.0), 1.0);
|
||||
}
|
||||
Reference in New Issue
Block a user