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
16710.8 e Technique Object
BlendFunc: SRC _ ALPHA, ONE _ MINUS _ SRC _ ALPHA
CullFaceEnable: true
CullFace: BACK
FrontFace: CCW
ColorMask: 0xffffffff
StencilTestEnable: false
StencilFunc: ALWAYS, 0, 0xffffffff
StencilOp: KEEP, KEEP, KEEP
PolygonOffsetFillEnable: false
PolygonOffset: 0, 0
LineWidth: 1
Samplers
e texture samplers that the shaders would require.
ey are matched by name to textures from the technique parameters objects
passed in by the DrawParameters object.
e sampler object contains only the delta from our predened sampling
states:
MinFilter: LINEAR _ MIPMAP _ LINEAR
MagFilter: LINEAR
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