Jump to content

Home

Great Skies! I need help!


dvader28

Recommended Posts

Hi all.

 

I've been experimenting with skies recently, but i can't seem to get them to animate, or light properly. Is it just that some shaders don't work ? Or am i missing a vital step? Help oh mighty JO Editing Guru's!

 

:vadar:

Link to comment
Share on other sites

You are likely not choosing the corret sky shaders... if you want one that works, you need one that has a white outline around it (that means it's a shader, not a texture).

 

Make a simple four-sided room and apply the shader "sky" from the "bespin" textureset to the top of the room.

 

That's a lighted sky too, it approximates daylight from straight up.

 

If you want to figure out which skies emit light and which don't, the easiest way is simply to experiment with a few and find out what happens.

 

And if there is a sky that you want to emit light that doesn't, I advise you read a shader tutorial and learn how to do it. :D

Link to comment
Share on other sites

Ehh... there's not really a tutorial that specifically will tell you how do that, I don't think.

 

What I did (and is the best way to learn, IMO) is to look in the .shader files, find a light emitting shader (for example "sky" in bespin.shader), copy the code you find there into your own .shader file and then screw around with it until you get the effect you want. :D

 

If you want light-emitting stars, take the basic shader for skies/stars and then the light-emitting parts (they're very obvious in the .shader - you'll see them, I promise) of bespin/sky and put them into your own file.

 

Voila, done. :D

 

I may just have to make a JK2 specific shader tutorial on how to make a light emitting shader after I get this map done...

 

Anyone want to host it? :p

Link to comment
Share on other sites

Alright, i got it into radiant but the shader is just a green checkered box and when i click on it it turns blue and the bottom says :

 

Loading stars/stars...failed. Trying Shader... failed. Using default. !! !! !!

** Replacing stars/stars with stars/stars **

 

any help would be great!

Link to comment
Share on other sites

Alright, i got it into radiant but the shader is just a green checkered box and when i click on it it turns blue and the bottom says blahblahblah

 

That's fine. Did you compile and see if it worked?

 

And copy the script you have in stars.shader here just so I know what you're doing. :D

Link to comment
Share on other sites

no it doesnt work after a fullvis compile

 

textures/stars/stars

{

qer_editorimage textures/skies/stars

q3map_surfacelight 450

surfaceparm sky

q3map_nolightmap

q3map_novertexshadows

skyParms textures/skies/stars 512 -

}

 

 

Thats my code..yes i extracted stars from assets0.pk3 or what ever the name is to the stars folder.

 

I'm still confused how to edit the shader i guess...

Link to comment
Share on other sites

alright, got the lighting to work better, but now it makes the sky as the void and screws up the screen when i look at it...

 

you know what i mean...everyone here as had a sstart player in the void at least once...

Link to comment
Share on other sites

heres a pic of what I mean

 

http://starwars.shmoonet.com/shot0001.jpg

 

I'm looking into the corner of the room where there should be the stary sky texture that i made light...

 

 

heres the edited shader coding:

 

textures/stars/starlight

{

qer_editorimage textures/stars/starlight

q3map_surfacelight 450

surfaceparm sky

q3map_nolightmap

q3map_novertexshadows

skyParms textures/stars/starlight 512 -

}

Link to comment
Share on other sites

Just the filename. :p

 

You see, the way a sky shader works is if your skyParm references say... "sky", it actually looks for 6 files to make up the total skybox... which in that case would be sky_bk, sky_dn, sky_ft, sky_lf, sky_rt, and sky_up.

 

I believe if you only include a _rt it makes that the default for all 6 sides (as in with stars).

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...