Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at

desktop (David)

Member since

Recent Docs Activity

View all activity
Page Date Comment

Lighting in WebGL

Actually, mediump works fine too. Regardless of the precision, a precision needs to be specified for the frag shader in this lesson to compile.

Lighting in WebGL

Fragment shader will not compile unless texelColor is specified as highp