With cordite in the air, splintered steel, shell casings and powder burns, there’s only one explanation...
For all you mappers out there!

Moderators: Joe Kari, Pardner, TheDoctor, Breli

Light Bug

Postby LuckyGenDago » Fri Feb 25, 2011 11:12 pm

Hi folks.

I got a light crash after i have add a new skybox.

it looks no like that:
Bilder-Space.de - Hostet DEINE Bilder - 57d21a-1298667989.jpg

WARNING: RE_AddPolyToScene: Null Poly shader

Thanks

Greetings
Dago
[IngameName] mS.Dago
TS Admin
Image
LuckyGenDago
Gunslinger
 
Posts: 139
Joined: Fri Apr 10, 2009 1:05 am



Postby Pardner » Sat Feb 26, 2011 2:07 am

WOW that is very weird. I have never seen that before!!
Dago sent me his shader script for his sky box, here is what he is currently using:
Code: Select all
textures/dustball/dustball_skybox
{
   qer_editorimage textures/dustball/dustball_view.tga
   surfaceparm noimpact
   surfaceparm nolightmap
   q3map_globaltexture
   q3map_lightsubdivide 256
   q3map_surfacelight 75
   surfaceparm sky
   q3map_sun 1.0 0.82 0.733 140 320 40
   skyparms env/dustball/dustball - -
}


I dont know if this is the problem or not, but I see you are using the "q3map_sun" option. Current SG skybox scripts use the "q3map_sunExt" option. Here is a skybox script that I would use that matches your env textures:
Code: Select all
textures/dustball/dustball_skybox
{
   qer_editorimage env/dustball/dustball_ft.tga
   surfaceparm noimpact
   surfaceparm nolightmap
   surfaceparm nodlight
   surfaceparm sky
   q3map_sunExt 1.0 0.82 .73 140 320 40 1 16
   q3map_lightmapFilterRadius 0 8
   q3map_skylight 100 5
   skyparms env/dustball/dustball - -
}
I simply modified the "textures/sg_sky/desertsky" script from the sg.shader. Note: I have not tested this in an actual map. There still might be a problem with your env textures. Give my script a try, and make sure they actually match your env paths.
User avatar
Pardner
SG Team
 
Posts: 1786
Joined: Fri Nov 18, 2005 5:48 am
Location: MD, USA




Return to Level Editing

Show Sidebar
Show Sidebar

User Control Panel

cron