Working on stones
This commit is contained in:
1 parent
854a425d85
commit
e690d0f8e2
13 files changed
+12077
-232
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user