Shader Problems (yes I read the master stickey) -1 reply

Please wait...

JeremyHopper

I actually did Single Player.

50 XP

23rd August 2006

0 Uploads

50 Posts

0 Threads

#1 14 years ago

I've ALWAYS had problems with making my own shaders. I've been mapping for about 2 years now and I've never successfully made my own shaders. I've been looking through every tutorial I can find, so it's not like I'm coming here 5 minutes after something not working. Anyway, I've been working on a sky shader. I've made a shader file named "royksopp.shader" and in it contains: textures/skies/royksopp { qer_editorimage textures/skies/sky surfaceparm sky surfaceparm noimpact surfaceparm nomarks q3map_nolightmap skyParms textures/skies/royksopp 512 - } I believe that's the correct code for a sky shader. I've put this shader into a PK3 with the shader file in the directory "shaders". I have sky textures labled "royksopp_ft", "royksopp_up", lf, bk, rt, and dn, all of the images being jpegs at 512 square pixels. I put all 6 of these images into the same pk3 in the directory "textures/skies." After all this, when I finally go into GtkRadiant after checking, double-checking and triple-checking that every image is the correct size, correct directory, correct shader, and correct coding, I can't find the sky texture anywhere in the texture list for GtkRadiant. If I'm making an unbelievably silly mistake, don't be afraid to break it to me hard. Thanks.




ƒul*£ruM

I'm too Post to cool.

50 XP

24th November 2006

0 Uploads

449 Posts

0 Threads

#2 14 years ago

i tryed making a sky one, but it did two things: 1. it turned up black on all sides except the top on 2. The bottom did not appear




Bluestormtrooper

>You

50 XP

13th March 2005

0 Uploads

1,752 Posts

0 Threads

#3 14 years ago

To be honest i never could figure out how to make coustom skyboxes. I think your best getting someone who knows what theyre doing to make it for you with images you provide.




JeremyHopper

I actually did Single Player.

50 XP

23rd August 2006

0 Uploads

50 Posts

0 Threads

#4 14 years ago

Dang... the only thing I've done in the past is replace existing skyboxes from jka (or jk2) with my own images, but when making a map that I intend to send in to jk2files, that's not really an option. Thanks for trying.