working on colors on the planet

This commit is contained in:
Vladislav Khorev committed 2026-01-02 22:01:33 +03:00
1 parent c9178cff3a
commit 570c96a628
3 files changed
+26 -48

No files matched your search

+2 -1
View File
@@ -33,7 +33,8 @@ void main() {
vec4 bakedTextureColor = texture2D(BakedTexture, finalTexCoord);
vec4 textureColor = texture2D(Texture, TexCoord);
vec4 textureFlavoredColor = vec4(textureColor.rgb * Color, 1.0);
vec3 flavoredRGB = mix(textureColor.rgb, textureColor.rgb * Color, 0.7);
vec4 textureFlavoredColor = vec4(textureColor.rgb * Color, 1.0);
if (bakedTextureColor.x < 0.01 && bakedTextureColor.y < 0.01 && bakedTextureColor.y < 0.01)
{