Shader Errors -1 reply

Please wait...

Guest

I didn't make it!

0 XP

 
#1 10 years ago

I got a problem here, I made a custom skybox and a light shader, but they don't seem to be actually lighting the map. Yes, its a sun skybox and I made sure its coding was right. I tried for hours and they wouldn't change. The only problems with either of them I can find is that they don't emit light. Could anyone direct my as to how I would fix this? Chances are if you post me the code for it, its accurately similar.

Thanks in advance :bows:




Guest

I didn't make it!

0 XP

 
#2 10 years ago

Post the code so we can have a look over it.




Guest

I didn't make it!

0 XP

 
#3 10 years ago

This one is the skybox:

textures/newsky/newsky

{

qer_editorimage textures/newsky/newsky q3map_lightRGB 0.923568 0.959106 1.000000 q3map_skylight 200 5 surfaceparm nomarks surfaceparm sky surfaceparm noimpact surfaceparm nodlight q3map_lightmapFilterRadius 0 8 q3map_sunExt 1.000000 0.997119 0.857641 350 142 35 1 2 notc q3map_nolightmap skyParms textures/newsky/newsky 1024 -

}

*************************** This one is the light shader:

textures/newlight/light1

{

qer_editorimage textures/newlight/light1.jpg q3map_surfacelight 7500 q3map_backSplash 0.5 8 q3map_nolightmap q3map_lightRGB 1 1 1

{ map $whiteimage blendFunc GL_DST_COLOR GL_ZERO rgbGen const ( 1.00 1.00 1.00 )

} {

map $whiteimage blendFunc GL_ONE GL_ONE rgbGen const ( 1.00 1.00 1.00 ) glow

}

}

*********************** I honestly don't see any errors with it at all :/




Szico VII

We want FF7-2/remake!

50 XP

15th September 2003

0 Uploads

1,683 Posts

0 Threads

#4 10 years ago

When you compiled the map, did you have your shader files name added to shaderlist.txt?




Guest

I didn't make it!

0 XP

 
#5 10 years ago

Ohh, that must have been what I've done wrong. Well, I'm looking in my JKA shaderlist.txt, and I'm seeing a bunch of slashes and rectangles... Theres some names in there I can see though... But when I look at my JK2 shaderlist, theres the names of the shader folders. Agh, what should I do about the JKA shaderlist?




Szico VII

We want FF7-2/remake!

50 XP

15th September 2003

0 Uploads

1,683 Posts

0 Threads

#6 10 years ago

Open it in Wordpad ;)