Pitfalls

From Custom Map Makers Wiki
Revision as of 15:31, 4 March 2012 by Rylius (talk | contribs) (Created page with "== Map shows only lightmap on some computers == Add<p>''blendFunc GL_DST_COLOR GL_ZERO<br>depthFunc equal''</p>to the lightmap stage of the relevant shaders. Crappy graphics card...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Map shows only lightmap on some computers

Add

blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal

to the lightmap stage of the relevant shaders. Crappy graphics cards/drivers can't deal with normal lightmapping and need a special treatment.