Jump to content

Skybox issue


Recommended Posts

So I'm using a custom skybox set, well trying to. Problem is in game the sky is the white/grey grid and accouring to the console I'm getting a "Lightgrid mismatch error".

I looked at my shader file and all looks good. I cant figure out what I'm doing wrong.

this is the shader I'm using
 

textures/skies/Narsh_final
{
 qer_editorimage textures/skies/sky.tga
 surfaceparm sky
 surfaceparm noimpact
 surfaceparm nomarks
 notc
 q3map_nolightmap
 skyparms textures/skies/narsh 1024 -
}
 

Check out some of my previous works:
JK Hub - [Editor: Zero Raven]

Link to comment

I think I would point the shader  to a custom folder, rather than to a default assets folder.

Also if you're making a map, I would personally have all shaders in one common .shader file (but it depends on the size of your project too I guess).

 

For example

 

textures/CustomMapName/Narsh_final

skyParms textures/CustomMapName/narsh 1024 -

 

But what's really important is what you name the .shader file itself in which you store the sky shader.

If you call it "RavensCustomSky.shader" you have to add RavensCustomSky to the shaderlist. The "skies" entry doesn't matter here, because it refers to the shader file called "skies.shader".

Asgarath83 likes this
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...