GetRayBoxCells fix.

This commit is contained in:
jussi
2024-08-05 23:35:57 +03:00
parent c6eb85b367
commit b011b2ca4e
16 changed files with 126 additions and 60 deletions

View File

@@ -13,13 +13,12 @@ out vec4 finalColor;
// NOTE: Add here your custom variables
void main()
{
void main() {
// Texel color fetching from texture sampler
vec4 texelColor = texture(texture0, fragTexCoord);
vec4 texelColor = texture( texture0, fragTexCoord );
// NOTE: Implement here your fragment shader code
finalColor = texelColor*colDiffuse;
finalColor = texelColor * colDiffuse;
}