Skip to content

Commit

Permalink
Gloom: Tweaked test materials and ambient light intensity
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Sep 1, 2019
1 parent 1bbe0e7 commit 366aab3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions doomsday/tests/test_gloom/net.dengine.gloom.pack/images.dei
Expand Up @@ -5,8 +5,9 @@ group world {
image grass.diffuse { path = "images/mat-grass.jpg" }
image dirt.diffuse { path = "images/mat-dirt.jpg" }
group test {
image diffuse { path = "images/mat-stone.png/Color.solid:0,0,0,255" }
image specgloss { path = "images/mat-stone.png/Color.solid:32,40,50,128" }
image diffuse { path = "images/mat-stone.png" }
#image diffuse { path = "images/mat-stone.png/Color.multiply:128,128,128" }
#image specgloss { path = "images/mat-stone.png/Color.solid:32,40,50,128" }
image normaldisp { path = "images/heights2.png/HeightMap.toNormals" }
}
image test2.diffuse { path = "images/mat-test2.png" }
Expand Down
Expand Up @@ -67,7 +67,7 @@ vec3 Gloom_FetchAmbient(vec3 viewSpaceNormal) {
}
return ambient / 9.0;*/

return uEnvIntensity * textureLod(uEnvMap, vec3(0, 1, 0), 8).rgb;
return 0.75 * uEnvIntensity * textureLod(uEnvMap, vec3(0, 1, 0), 8).rgb;
}

void main(void) {
Expand Down

0 comments on commit 366aab3

Please sign in to comment.