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
30719.4 Example 1: Temperature Anomalies
is new shader accepts a second sampler and blends the blurred result of the rst
sampler to the second sampler to create the neon eect. e multiplier variable sets
how pronounced the neon eect will be.
e whole procedure renders twice to framebuers. e rst rendering is done in
a downsized viewport and only renders the spherical manifold. A Gaussian blur is
applied to the manifold. e second rendering renders both the globe and the surface
and both renderings are blended together with additive blending. e result is ren-
dered to the screen. Finally, we also render to the screen the globe and mesh ...
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