lauser Posted December 13, 2003 Share Posted December 13, 2003 Help....help....help....Neither of these works even after packing it up and excuting sv_pure 0. Wedge.....I made a skybox with TERRAGEN and followed your EXACT instructions but the shader code will NOT work. All I get is a blank GRID!! I'm 90% POSITIVE I'm doing it right.......please point out any flaws in this shader. I have 2 versions hoping that one, if not the other, will work. shader 1 textures/brelskies/brelsky_light { qer_editorimage textures/brelskies/brelblue.tga q3map_lightsubdivide 512 surfaceparm sky surfaceparm noimpact surfaceparm nomarks notc q3map_nolightmap skyParms textures/brelskies/brelsky 512- } /////////////////////////////////////////////////////////////////////////////////// shader 2 textures/brelskies/brelsky_light { qer_editorimage textures/brelskies/brelblue.tga q3map_surfacelight 40 q3map_lightsubdivide 512 sun 1 0.85 0.78 100 -27 34 surfaceparm sky surfaceparm noimpact surfaceparm nomarks notc q3map_onlyvertexlighting q3map_vlight q3map_nolightmap skyParms textures/brelskies/brelsky 512- } PS: I use Radiant 1.3.13 and this is a M/P map for JK2. Many thanks in advance. Link to comment Share on other sites More sharing options...
WadeV1589 Posted December 13, 2003 Share Posted December 13, 2003 skyParms textures/brelskies/brelsky 512- You missed a space so that line should be skyParms textures/brelskies/brelsky 512 - Also, not a fault, but surfacelight has been replaced with skyLight for more uniform lighting and there is a better sunlight code, delete the following q3map_surfacelight 40 q3map_lightsubdivide 512 sun 1 0.85 0.78 100 -27 34 and use this instead, they must appear in this order...also that's an odd angle, -27 degrees below the horizon? q3map_sunExt 1 0.85 0.78 100 -27 34 2 12 q3map_lightmapfilterradius 0 128 q3map_skylight 40 3 Finally, don't forget to add the .shader filename to shaderlist.txt or the compiler won't use the shader. Link to comment Share on other sites More sharing options...
lauser Posted December 14, 2003 Author Share Posted December 14, 2003 Thanks Wade, yes that is an odd number but that is the ORIENTATION of the sun not it's height. I know it's strange but I put the value in from TERRAGEN, so it must be true. And I do have the shaderlist updated so it's not that. Each JPEG took me roughly 40 min. to RENDER so all 6 took me 5 hours. I really don't wish to repeat that again.... Also when I look at examples of shaders from JA assets file the shaders for skies don't seem to have changed much. I'll try it this way and let you know. Thanks again Wade. Link to comment Share on other sites More sharing options...
WadeV1589 Posted December 14, 2003 Share Posted December 14, 2003 I was so not drunk when I wrote that Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.