ZiG Posted June 11, 2002 Share Posted June 11, 2002 I am having trouble with my skybox shader, it is lighting my level very oddly. Please help me out this is one of my first maps (the pictures provided are in the maps very early stages) and this is my first real attempt at shaders. I have included three pictures of what is wrong, and included what my shader file looks like. Please help me out: Notice the pixelation of the shadows in some areas, and the lightness of some brush textures. Here is the shader file: textures/kaytotown/desert_skybox { // * q3map_lightimage } qer_editorimage textures/desert_skybox/desert.tga q3map_surfacelight 60 sun 1 0.5 0 70 300 25 surfaceparm sky surfaceparm noimpact q3map_nolightmap skyParms textures/desert_skybox/deception_pass512 512 - } Anyone know whats wrong? Thank you in advance. Link to comment Share on other sites More sharing options...
Xcom Posted June 11, 2002 Share Posted June 11, 2002 Hm, the shader looks okay for as far as I can tell. Btw, are you certain that the skybox is causing this? Does this happen if you use some of the Raven's skies? Link to comment Share on other sites More sharing options...
ZiG Posted June 11, 2002 Author Share Posted June 11, 2002 well im pretty sure i mean, do you know anything else that could be the cause? Link to comment Share on other sites More sharing options...
Xcom Posted June 12, 2002 Share Posted June 12, 2002 Originally posted by ZiG well im pretty sure i mean, do you know anything else that could be the cause? Can be many things. Bad brushwork (infinite brushes, tiny brushes) for instance (no offense ). Can be of them damned bugs in the compiler. And yes, it can be the skybox. I am curious. Could you comment out sun line in the shader and recompile the map and see if the problem stays? Link to comment Share on other sites More sharing options...
ZiG Posted June 12, 2002 Author Share Posted June 12, 2002 ill try that, your probably right about the small brushes because I know when I cut some things it ****ed up. Ill test the sun things, but if it keeps occurring Ill just remake the map and test it out again, its not big deal. Thanks for the help. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.