Jump to content

Home

Custom Skies


superdude201

Recommended Posts

Posted

I've made a custom sky using terragen and a tutorial and the pics of the sky show up but the red and black checkered thing doesn't show up so i can't use it. Does anyone know how to make it show up in the textures bit in the skies catergory? Thanks

Posted

create your own directory to put your sky images in.

 

then set your shader to point to that directory instead, name the sky *skyname_light* if you have a sky that emits light.

 

qer_editorimage textures/skies/sky.jpg

 

add this line to your shader. this makes it so the editor sees this image as the shader's image so you can see what it looks like. the sky.jpg is one that gtk uses default for certain skies. you can use whatever image you want so long as it meets the power of 2 standards. :D

Posted

edit the shader in notepad... *pulls up example*

 

textures/volrath/volrath_light

{

// q3map_surfacelight 5

 

qer_editorimage textures/volrath/volrath_bk

sun 0 0.501961 0.752941 50 90 90

surfaceparm sky

surfaceparm noimpact

surfaceparm nomarks

surfaceparm metalsteps

q3map_nolightmap

q3map_novertexshadows

skyParms textures/volrath/volrath 512 -

}

 

that's kinda what your sky shader needs to look like. you can take out all the sun, surfacelight, and _light name if you don't need it to emit light, but all the other stuff is pretty much required for a skybox. cept for metalsteps, i added that cuz the skybox is all watery so on the offchance someone would get on it, it would sound splashy :p

 

just make a new .shader file and open it in notepad and change paths accordingly based on my example for your sky images. then when you save your shader file, say as mysky.shader, add it's name to the shaderlist.txt.

 

then you should be able to select it in editor under your directory name. select the image that is the shader (the one with the white box around it) for all the sides of your skybox. the sky should line up and use the correct images for your sides, top, and bottom, if you made it correctly.

Posted

Well in my shader it says this :

 

textures/(tatooinetown)/(tatooinetownsky)

 

{

 

qer_editorimage textures/skies/sky.jpg

 

surfaceparm sky

 

surfaceparm noimpact

 

surfaceparm nomarks

 

notc

 

q3map_nolightmap

 

skyParms textures/(tatooinetown)/sky 512 -

 

}

 

Is that right or is there something missing?

Posted

No keep the { }, just use an old Shader file from the assessts.pk3 copy it, edit it with your pics, and just put them in the correct directorys.

Posted

Anakin, JK2 will not recognize folders with special characters like ( and ) or { and }.

 

First off superdude, kill the parentheses. don't use special characters in your folders.

 

be sure you add the name of the shader to the shaderlist.txt or else it will not work.

 

 

edit: big typo!

Posted

you need the { and } between the shader code but no parentheses in the folder names

 

this is what i'm talking about:

 

textures/(tatooinetown)/(tatooinetownsky)

 

make that look like

 

textures/tatooinetown/tatooinesky

Posted

the shader goes in your shaders folder.

for the _ft _bk _lt etc... you need to make a folder in your textures folder called

tatooinetown

and put all 6 .jpgs in there.

then, when you load up radiant, you should have a new folder under the textures menu:

tatooinetown

it should have inside:

the 6 .jpgs and a shader called tatooinetownsky

hope that helps.

Posted

It says this in that white box when i load it up:

 

Loaded 1 shaders and created default shader for 5 orphan textures.

 

Edit: I changed something cause i thought i had done it wrong and it came up with this in the white box

 

Loaded 0 shaders and created default shader for 6 orphan textures.

Archived

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

×
×
  • Create New...