Skip to Main Content
WebGL Insights
book

WebGL Insights

by Patrick Cozzi
August 2015
Intermediate to advanced content levelIntermediate to advanced
416 pages
16h 58m
English
A K Peters/CRC Press
Content preview from WebGL Insights
240 15. Deferred Shading in Luma
as heat, resulting in no diuse response. Taking advantage of this parametric coupling, color
is conditionally interpreted as albedo or specular color, based on the metallic Boolean. In
the case of metallic surfaces, albedo is hard-coded as zero. In the case of nonmetallic sur-
faces, specular color is hard-coded at (0.04, 0.04, 0.04), a common value in the plausible range
[Homan10; Lagarde 11]. We nd the slight loss in control well worth the savings in g-buer
storage. Further, this coupling makes it challenging for artists to create implausible architec-
tural materials: a fundamental principle of physica ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning HTML5 Game Programming: Build Online Games with Canvas, SVG, and WebGL

Learning HTML5 Game Programming: Build Online Games with Canvas, SVG, and WebGL

James L. Williams

Publisher Resources

ISBN: 9781498716079