Commit Graph

4 Commits

Author SHA1 Message Date
cancel
e34fdb4893 Fix issues with example 18-ibl's shaders.
Change vs_ibl_skybox.sc to correctly use radians instead of degrees when
specifying field-of-view. Additionally, use u_viewRect to find the correct
aspect ratio of the viewport, instead of hard-coding to 4/3.

Change fs_ibl_skybox.sc, fixing a number of small issues and mistakes. These
mistakes would lead to incorrect lighting results, especially with metallic
materials at glancing angles.

This commit does not include the rebuilt .bin output of shaderc for these
shaders.
2016-07-16 17:05:15 +09:00
Dario Manesku
a079ee53ef Redone 18-ibl example. It's now using textures that are filtered with cmft. 2016-02-29 01:15:12 +01:00
Branimir Karadžić
4bb2b623d3 Happy New Year! 2016-01-01 00:11:04 -08:00
Dario Manesku
9bb2440d86 Added 18-ibl example. 2014-02-14 07:50:19 +01:00