Difference between revisions of "Pitfalls"

From Custom Map Makers Wiki
Jump to: navigation, search
(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...")
 
Line 1: Line 1:
 +
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 ==
 
== 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 cards/drivers can't deal with normal lightmapping and need a special treatment.
 
Add<p>''blendFunc GL_DST_COLOR GL_ZERO<br>depthFunc equal''</p>to the lightmap stage of the relevant shaders. Crappy graphics cards/drivers can't deal with normal lightmapping and need a special treatment.

Revision as of 15:33, 4 March 2012

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.