Jump to content

Home

Problem getting custom sky to work (and a picture)


SubL

Recommended Posts

Well, I made a folder (textures/sub/env) with the 6 parts of the custom sky.

 

I created a sub.shader in both the scripts and shader folders with the following:

 

textures/sub/sea

{

qer_editorimage textures/sub/env/sea_rt.tga

surfaceparm noimpact

surfaceparm nolightmap

surfaceparm nomarks

surfaceparm sky

q3map_sun .9 .9 1 50 245 78

q3map_surfacelight 25

skyparms textures/sub/env/sea --

}

 

Then, I added sub to the shaderlist. Ingame, this:

 

http://www.massassi.net/ec/images/5217.jpg

 

Errors in the console:

 

1) shader textures/sub/sea has lightmap but no lightmap stage

 

2) sky parms missing parameter in shader textures/sub/sea

 

I'm out of ideas :(

Link to comment
Share on other sites

Try changing to this:

 

textures/sub/sea

{

qer_editorimage textures/sub/env/sea_rt

surfaceparm noimpact

q3map_nolightmap

surfaceparm nomarks

surfaceparm sky

sun .9 .9 1 50 245 78

q3map_surfacelight 25

skyParms textures/sub/env/sea 512 -

}

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...