Commit Graph

10 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
c9a84bd542 18-ibl fixes. (#824)
* Fixing issue #817.

* Fixing env matrix for IBL.
2016-06-27 08:54:29 -07:00
Branimir Karadžić
4752d567e4 Cleanup. 2016-02-28 19:52:15 -08: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
Branimir Karadžić
72454acc8e Cleanup. 2015-06-06 17:12:29 -07:00
Branimir Karadžić
ff01992cb7 Refactored uniform types. 2015-05-28 15:27:00 -07:00
Branimir Karadžić
f6fe2de941 Cleanup. 2015-01-20 21:41:51 -08:00
Branimir Karadžić
e125cb0c20 Updated README. 2014-02-14 00:16:23 -08:00
Dario Manesku
9bb2440d86 Added 18-ibl example. 2014-02-14 07:50:19 +01:00