Working on stuff

This commit is contained in:
Vladislav Khorev committed 2025-12-28 20:11:17 +03:00
1 parent 14b43239b5
commit 7287f4b619
6 files changed
+58 -40

No files matched your search

+2 -2
View File
@@ -15,7 +15,7 @@ void main()
float diff = 1.0;
// RGB - цвет камня с учетом света, A - нормализованная высота
//gl_FragColor = vec4(stoneColor.rgb * diff, vHeight);
gl_FragColor = vec4(vHeight, vHeight, vHeight, vHeight);
gl_FragColor = vec4(stoneColor.rgb * diff, vHeight);
//gl_FragColor = vec4(vHeight, vHeight, vHeight, vHeight);
//gl_FragColor = vec4(1.0, 0.0, 1.0, 1.0);
}