FileFront Forums

FileFront Forums (http://forums.filefront.com/)
-   SW:JK Modding, Mapping and Editing (http://forums.filefront.com/sw-jk-modding-mapping-editing-119/)
-   -   How you make a skyshader that draws a sun? (http://forums.filefront.com/sw-jk-modding-mapping-editing/224509-how-you-make-skyshader-draws-sun.html)

Raiyaka November 6th, 2005 12:53 PM

How you make a skyshader that draws a sun?
 
Hello. I've just made this shader: (been following the Custom Skyshader tutorial found at Rich Diesel's)

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 and the light itself works fine though... but I want my pretty sun! :cool:

Help me ppl. :o


All times are GMT -7.

Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.