Having a problem with a shader or texture
xandaxs
Posts: 959 Joined: Wed Aug 17, 2011 5:22 pm
Location: Oeiras, Portugal
Post
by xandaxs » Fri Dec 16, 2011 10:47 pm
What's wrong with this? It doesnt work but idk what i can do.
Code: Select all
textures/amappingtennis/calm_sea { qer_editorimage textures/askies/calm_sea.jpg surfaceparm sky surfaceparm noimpact surfaceparm nolightmap surfaceparm nomarks q3map_globaltexture q3map_surfacelight 200 surfaceparm sky nopicmip nomipmaps q3map_sunExt 1 0.9 0.84 100 290 45 skyparms textures/askies/calm_sea - - } textures/amappingtennis/distant_sunset { qer_editorimage textures/askies/distant_sunset.jpg surfaceparm sky surfaceparm noimpact surfaceparm nolightmap surfaceparm nomarks q3map_globaltexture q3map_surfacelight 200 surfaceparm sky nopicmip nomipmaps q3map_sunExt 1 0.9 0.84 100 290 45 skyparms textures/askies/distant_sunset - - }
[12:25] <JohnnyEnglish> morning Nounou
[12:25] <JohnnyEnglish> wotcha doing?
[12:25] <Nounou> hello
[12:26] <Nounou> nothing much, i've nothing to do at work so
[12:26] <Nounou> modeling woman
[12:26] <JohnnyEnglish> woo
[12:26] <JohnnyEnglish> real women?
[12:26] <Nounou> realistic yes, on maya
Rayne
Site Admin
Posts: 624 Joined: Wed Aug 17, 2011 5:22 pm
Post
by Rayne » Fri Dec 16, 2011 10:49 pm
Why do you have 2 sunExt's in there.
xandaxs
Posts: 959 Joined: Wed Aug 17, 2011 5:22 pm
Location: Oeiras, Portugal
Post
by xandaxs » Fri Dec 16, 2011 11:02 pm
Updated Shader, Still not working..
Code: Select all
textures/amappingtennis/calm_sea { qer_editorimage textures/askies/calm_sea_bk.jpg surfaceparm sky surfaceparm noimpact surfaceparm nolightmap q3map_globaltexture surfaceparm sky nopicmip nomipmaps q3map_sunExt 1 0.9 0.84 100 290 45 skyparms textures/askies/calm_sea - - }
Code: Select all
textures/amappingtennis/distant_sunset { qer_editorimage textures/askies/distant_sunset_bk.jpg surfaceparm sky surfaceparm noimpact surfaceparm nolightmap q3map_globaltexture surfaceparm sky nopicmip nomipmaps q3map_sunExt 1 0.9 0.84 100 290 45 skyparms textures/askies/distant_sunset - - }
Should I add { and } before and after
nopicmip and nomipmaps ?
[12:25] <JohnnyEnglish> morning Nounou
[12:25] <JohnnyEnglish> wotcha doing?
[12:25] <Nounou> hello
[12:26] <Nounou> nothing much, i've nothing to do at work so
[12:26] <Nounou> modeling woman
[12:26] <JohnnyEnglish> woo
[12:26] <JohnnyEnglish> real women?
[12:26] <Nounou> realistic yes, on maya
Delirium
Posts: 366 Joined: Sat Aug 27, 2011 8:37 am
Location: Auckland, New Zealand
Post
by Delirium » Sat Dec 17, 2011 1:00 am
define not working...
xandaxs
Posts: 959 Joined: Wed Aug 17, 2011 5:22 pm
Location: Oeiras, Portugal
Post
by xandaxs » Sat Dec 17, 2011 9:58 am
well, nothing shows up in Radiant. No square I can select to texture the sky..
[12:25] <JohnnyEnglish> morning Nounou
[12:25] <JohnnyEnglish> wotcha doing?
[12:25] <Nounou> hello
[12:26] <Nounou> nothing much, i've nothing to do at work so
[12:26] <Nounou> modeling woman
[12:26] <JohnnyEnglish> woo
[12:26] <JohnnyEnglish> real women?
[12:26] <Nounou> realistic yes, on maya
DagF
Posts: 277 Joined: Thu Aug 18, 2011 8:40 am
Location: Norway
Contact:
Post
by DagF » Sat Dec 17, 2011 10:06 am
Have you added the shader file name that these skyboxes are scritped in in the shaderlist?
xandaxs
Posts: 959 Joined: Wed Aug 17, 2011 5:22 pm
Location: Oeiras, Portugal
Post
by xandaxs » Sat Dec 17, 2011 10:07 am
yea I have
[12:25] <JohnnyEnglish> morning Nounou
[12:25] <JohnnyEnglish> wotcha doing?
[12:25] <Nounou> hello
[12:26] <Nounou> nothing much, i've nothing to do at work so
[12:26] <Nounou> modeling woman
[12:26] <JohnnyEnglish> woo
[12:26] <JohnnyEnglish> real women?
[12:26] <Nounou> realistic yes, on maya
KroniK
Posts: 169 Joined: Tue Dec 06, 2011 9:44 pm
Location: Fairbanks, Alaska, USA
Post
by KroniK » Sat Dec 17, 2011 10:22 am
Just to be sure.... the name of the shader file is "amappingtennis" right?? Cause I have made that mistake before....
"I still miss my ex girlfriend, but my aim is improving."
xandaxs
Posts: 959 Joined: Wed Aug 17, 2011 5:22 pm
Location: Oeiras, Portugal
Post
by xandaxs » Sat Dec 17, 2011 10:24 am
yeah, it is
[12:25] <JohnnyEnglish> morning Nounou
[12:25] <JohnnyEnglish> wotcha doing?
[12:25] <Nounou> hello
[12:26] <Nounou> nothing much, i've nothing to do at work so
[12:26] <Nounou> modeling woman
[12:26] <JohnnyEnglish> woo
[12:26] <JohnnyEnglish> real women?
[12:26] <Nounou> realistic yes, on maya
KroniK
Posts: 169 Joined: Tue Dec 06, 2011 9:44 pm
Location: Fairbanks, Alaska, USA
Post
by KroniK » Sat Dec 17, 2011 10:50 am
Well, because nothing at all is showing up in radiant, this says that something is wrong with the filename, shaderlist, location of the shader/texture or possibly the name of the texture. Most of the time you can have something totally wrong with the shader code, but it will still show up in radiant.
"I still miss my ex girlfriend, but my aim is improving."