Pitfalls

From Custom Map Makers Wiki
Revision as of 15:33, 4 March 2012 by Rylius (talk | contribs)
Jump to: navigation, search

This page contains not-so-common errors and their solutions. If you have a problem, but no solution, feel free to put it here too - someone else will try to find a solution and add it!

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.