mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-13 21:27:21 +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