Working on stones

This commit is contained in:
Vladislav Khorev committed 2025-12-16 22:21:20 +03:00
1 parent 854a425d85
commit e690d0f8e2
13 files changed
+12077 -232

No files matched your search

+2 -1
View File
@@ -30,7 +30,8 @@ void main()
{
// ... (1. Получаем цвет и 2. Расчет освещения)
vec4 textureColor = texture2D(Texture, TexCoord);
vec3 finalColor = textureColor.rgb * color;
//vec3 finalColor = textureColor.rgb * color;
vec3 finalColor = textureColor.rgb;
float diffuse = max(0.0, dot(normal, uLightDirection));
float ambient = 0.2;