lfnetwork.com mark read register faq members calendar

Thread: Skyshader with sun
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 11-12-2005, 01:22 PM   #1
Chris Y
Rookie
 
Chris Y's Avatar
 
Join Date: Nov 2004
Location: Sweden
Posts: 23
Skyshader with sun

Hello. I've just made this sky shader:
------------------------------------------
textures/japsky/sky

{

qer_editorimage textures/skies/sky

q3map_lightRGB 1.50887573964 1.50887573964 1.50887573964

q3map_skylight 200 5

surfaceparm nomarks

surfaceparm sky

surfaceparm noimpact

surfaceparm nodlight

q3map_lightmapFilterRadius 0 8

q3map_sunExt 1.000000 0.997119 0.857641 350 142 35 1 2

notc

q3map_nolightmap

skyParms textures/japsky/sky 1024 -

}
------------------------------------------
But:
"q3map_sunExt 1.000000 0.997119 0.857641 350 142 35 1 2"

That line is supposed to draw me a nice shiny sphere of sunnieness!
But it doesn't.
The sky textures and the light itself works fine though... but I want my pretty sun!

Help me ppl.
Chris Y is offline   you may: quote & reply,
Old 11-13-2005, 06:51 AM   #2
riceplant
Junior Member
 
riceplant's Avatar
 
Join Date: Jul 2005
Posts: 348
If you want lenseflares, then I don't think that's possible, the various sun parameters are only to control the light from the sun, and to learn them, read the shader manual!
riceplant is offline   you may: quote & reply,
Old 11-13-2005, 08:21 AM   #3
Chris Y
Rookie
 
Chris Y's Avatar
 
Join Date: Nov 2004
Location: Sweden
Posts: 23
Ow... I see. I guess I'll follow your advice and go learn some shader code then. Could you give me the link for shader manual? Im quite lost around here. :P
Chris Y is offline   you may: quote & reply,
Old 11-13-2005, 08:39 AM   #4
riceplant
Junior Member
 
riceplant's Avatar
 
Join Date: Jul 2005
Posts: 348
Erm, I got it when I downloaded Radiant, I don't know if you can download it seperately, but when you find it, learn it. It's well worth it for the things you can do with shaders, far more than is possible with cut and paste editing.
riceplant is offline   you may: quote & reply,
Old 11-13-2005, 09:20 AM   #5
Chris Y
Rookie
 
Chris Y's Avatar
 
Join Date: Nov 2004
Location: Sweden
Posts: 23
Okay. Got it! Thanks for the help!
Chris Y is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Editing Central > JO Mapping > Skyshader with sun

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:16 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.