WilliamKHo / Pollux-Renderer

2 stars 3 forks source link

Environment mapping #5

Closed WilliamKHo closed 6 years ago

WilliamKHo commented 6 years ago

With this, we can now optionally add environments to our scenes using a similar syntax as all of our other scene properties. See environment-scene.json for example. Environments can be added as is, and with an emittance value to brighten the scene for control over environmental light.

Also see minor edits to SnS_refract and cornell-refract-ios.json (refraction requires enough depth for the ray to actually transmit through the material, or bizarre artifacts occur)