Correct for non uniform scale in lighting

This commit is contained in:
Dane Johnson
2021-01-23 12:33:10 -06:00
parent 5c4ac7712d
commit 5e8e7b3ce0
20 changed files with 21 additions and 11 deletions

View File

@@ -37,12 +37,12 @@ function init()
couch.Node.GetRoot().children:Append(light)
skybox = couch.Skybox.FromFiles(
"skybox/right.jpg",
"skybox/left.jpg",
"skybox/top.jpg",
"skybox/bottom.jpg",
"skybox/front.jpg",
"skybox/back.jpg"
"skybox/px.png",
"skybox/nx.png",
"skybox/py.png",
"skybox/ny.png",
"skybox/pz.png",
"skybox/nz.png"
)
couch.Node.GetRoot().children:Append(skybox)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 723 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 274 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 462 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 588 KiB

BIN
demo/skybox/nx.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

BIN
demo/skybox/ny.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

BIN
demo/skybox/nz.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

BIN
demo/skybox/px.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

BIN
demo/skybox/py.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

BIN
demo/skybox/pz.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 525 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 338 KiB