ERROR: MAX_MAP_SHADERS


(ReBoOt) #1

I got this error when i compiled my map using lightstyles.
-light -fast -fastbounce -patchshadows -bounce 3 -filter -nocollapse -super 2

after the second bounce it says: ************ ERROR ************
MAX_MAP_SHADERS

anyone know how to fix this? do i have to reduce the # of lightstyles?

— Radiosity (bounce 2 of 3) —
0…1…2…3…4…5…6…7…8…9… (5)
6834 diffuse surfaces
35830 total lights
6902 culled lights
— IlluminateRawLightmap —
0…1…2…3…4…5…6…7…8…9… (909)
0 luxels illuminated
130732 vertexes illuminated
— IlluminateVertexes —
0…1…2…3…4…5…6…7…8…9… (10)
205909 vertexes illuminated
— StoreSurfaceLightmaps —
************ ERROR ************
MAX_MAP_SHADERS
Disconnecting


(ydnar) #2

Using lightstyles in non-Raven games is experimental at best. Using LOTS of lightstyles is prohibitive. Using radiosity and lots of lightstyles, well, you found out.

Nuke some of the style(s) and your map will compile.

y