sun light not compiling with q3map2


(blt) #1

hello,

when I compile my map with any sky shader the sky doesn’t emit any light. these shaders worked fine a week ago, and I changed nothing about them ever since. the interesting thing is it compiles normally when I use the old standard q3map, and I experience no problems whatsoever.

I noticed this in q3map2’s light phase; “0 sun/sky lights”. but it can’t be a shader issue, otherwise q3map would have a problem with it as well.

any ideas on how this can be fix or worked around?

I use version 2.5.4


(ydnar) #2
  • make sure your shader(s) are listed in shaderlist.txt
  • make sure you’re passing -fs_basepath to Q3Map2 so it can find your shaders/textures
  • get the latest version (2.5.5-test-13 as of this writing) here

Note: sky shaders with just q3map_surfacelight will not contribute to the sky light count. Only q3map_sun and q3map_skyLight (and entity suns) do.

y


(blt) #3

doesn’t seem to make any difference. I tested different skies from different shaders, which I know had worked before, but nothing.


(Hewster) #4

its probably to be something simple…

does it still compile ok with older q3map2’s ?
what game are you compiling for ?
post your sky shader, & compile log… maybe the answer will be
revealed :slight_smile:

Hewster


(blt) #5

textures/blt01/sky
{
qer_editorimage textures/trueblue/trueblue_up.tga
surfaceparm noimpact
surfaceparm nolightmap
surfaceparm sky
q3map_lightsubdivide 256
q3map_sun 0.86 0.89 1 160 20 72
q3map_surfacelight 64
skyparms textures/trueblue/trueblue - -
}

no errors show up when compiling, just warnings. the “0 valued axis” and “can’t find image for shader” jibberish, which is insignificant. I guess there’s nothing wrong with the shader. like I said, it worked fine with q3map.

here’s the contents of my .bat file.

“f:\quake 3 arena\Radiant\q3map254\q3map255.exe” -custinfoparms -meta -fs_basepath “f:/quake 3 arena” “f:/quake 3 arena/baseq3/maps/newmap6.map”
“f:\quake 3 arena\Radiant\q3map254\q3map255.exe” -vis -fs_basepath “f:/quake 3 arena” “f:/quake 3 arena/baseq3/maps/newmap6.bsp”
“f:\quake 3 arena\Radiant\q3map254\q3map255.exe” -light -fs_basepath “f:/quake 3 area” “f:/quake 3 arena/baseq3/maps/newmap6.bsp”

the infoparms showed up normal, so it’s reading the shaders correctly, right?


(Hewster) #6

mmm, the only potential issue I can see is that you use “/” instead of “”
in the map paths of your compile lines ?

I dunno if this would cause a problem (Ydnar ?)

I would recommend using q3maptoolz for compiling:
http://planetquake.com/hro/

forum thread:
http://www.quake3world.com/ubb/Forum6/HTML/022697.html

Hewster


(ydnar) #7

Did it happen to mention “textures/blt01/sky?” Those warnings are hardly insignificant.

Post your light compile log here.

y


(blt) #8

-edit-

I used the “q3maptoolz” program and changed some paths in my shader, it works now. strange…

but thanks for the help