mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 06:24:20 +02:00
Restore proper mip handling to skybox
This commit is contained in:
parent
5dbaa671ca
commit
6711b9c417
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ void main(void) {
|
|||
|
||||
// blend is only set if there is a cubemap
|
||||
if (skybox.color.a > 0.0) {
|
||||
color = textureLod(cubeMap, coord, 0).rgb;
|
||||
color = texture(cubeMap, coord).rgb;
|
||||
if (skybox.color.a < 1.0) {
|
||||
color *= skybox.color.rgb;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue