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
24515.4 Light Prepass
Figure 15.4
Gold metallic spheres illuminated by single punctual light source, and image-based lighting. Top row: vertical
split-screen comparison of Fresnel parameterized with nDotH, left, and nDotV, right. Bottom row: vertical split-
screen comparison of Fresnel parameterized with nDotH, left, and false nDotH, computed with hardcoded
upward facing light vector. NDotV exhibits a subtle overestimation of reectance, particularly visible at the rim
of the sphere, where nDotV approaches 1.0.
Figure 15.5
Direct light, evaluated in RGB space at 100% resolution.
246 15. Deferred Shading in Luma
multiple draw buers of narrower bit ...
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