Jump to content

Custom skybox?


Recommended Posts

Just look at an existing sky shader and copy what it does. Replace the mapped texture with your own. You'll want to just list the texture as whatever your files are but with only the main prefix. So if you have files called jakku_up.jpg, jakku_dn.jpg, etc; then you'll want to make sure it's listed as just jakku in the shader so it uses them as a skybox properly.

 

Like this:

textures/skies/jakku
{
	qer_editorimage	textures/skies/sky.tga
	surfaceparm	sky
	surfaceparm	noimpact
	surfaceparm	nomarks
	notc
	q3map_nolightmap
	skyParms	textures/skies/jakku   512 -
}
Link to comment

As I said before, I've been having a similar issue:

 

 

Skybox_issue.png

 

 

It's not showing the Sky shader, for whatever reason.

What does your skies.shader look like? If you're making a custom skybox, you should be adding it to a new shader file, not editing an existing one from the assets.

Link to comment
textures/skies/naboo
{
	qer_editorimage	textures/skies/sky.tga
	surfaceparm	sky
	surfaceparm	noimpact
	surfaceparm	nomarks
	notc
	q3map_nolightmap
	skyParms	textures/skies/naboo   1024 -
}

@@Circa

 

But did you add it to a new shader file? And did you refresh shaders in radiant? Did you add your new shader file to the shaderlist.txt?

Link to comment

But did you add it to a new shader file? And did you refresh shaders in radiant? Did you add your new shader file to the shaderlist.txt?

Do I just add a line to shaderlist.txt saying "Naboo"? The file's called "naboo_sky.shader"

@@Circa

 

EDIT: There we go, all fixed. I had to add a line saying "naboo_sky"

Thank you very much :)

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...