Skyboxes
This commit is contained in:
parent
eb01ec4877
commit
f135d99d74
60 changed files with 924 additions and 90 deletions
|
|
@ -149,4 +149,9 @@ void main() {
|
|||
vec3 color = ambient + Lo;
|
||||
|
||||
outFragColor = vec4(color, 1.0f);
|
||||
if (length(normal) < 0.001) {
|
||||
outFragColor = vec4(albedo,1.0f);
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue