-
Posts
98 -
Joined
-
Last visited
Content Type
Profiles
News Articles
Tutorials
Forums
Downloads
Posts posted by Delta_135
-
-
just trying to find another way to add light
using normal light entry's take a while to get right
so i thought it might go a bit faster to use shader light
but it's only an experiment so i can live without it
-
nope doesn't work
just gives me a black blue-light emitting brush
-
title might be a bit misleading...
anyway I've been trying to make a texture give off a blue light and that works just fine
but i want the texture to be 100% transparent so it looks like the light is coming out of no were
yes, i know about the light entry in radiant and that you can color it
but just wanna see if it can be done.
here is the shader i've been playing around with it for the past 2 days
textures/lights/blue { qer_editorimage textures/lights/blue q3map_surfacelight 4000 surfaceparm nodamage surfaceparm nomarks surfaceparm nonsolid surfaceparm nonopaque { map $lightmap } { map textures/lights/blue blendFunc GL_SRC_ALPHA_SATURATE GL_ONE_MINUS_DST_ALPHA } { map textures/lights/blue blendFunc GL_SRC_ALPHA GL_SRC_ALPHA rgbGen wave sin 0 0 1 10 } }
but no matter what i do it wont go transparent, ether i get a blue box or a black box witch emit blue light
and if i add "surfaceparm nodraw" it wont emit any light what so ever
-
the shader manual, of course! how could i forget about that.
thanks Inyri
-
i've been working on a small duel map and it needs light of course
so i found a texture that emits a blue light and decided to take a look at it's shader
textures/mp/s_bluestrip { q3map_lightimage textures/mp/s_bluestrip_blend.tga qer_editorimage textures/mp/s_bluestrip.tga q3map_surfacelight 3000 q3map_lightsubdivide 60 { map $lightmap } { map textures/mp/s_bluestrip blendFunc GL_DST_COLOR GL_ZERO } { map textures/mp/s_bluestrip_blend blendFunc GL_ONE GL_ONE rgbGen wave sin 0.85 0.005 0 10 } }
i'm guessing it's the "rgbGen wave sin" line but not sure how it's works
as far as i konw RGB number need to hole numbers and not like the ones used in the line
so does it work like this: Red 0.85 Green 0.005 Blue 0 ? 10 < not sure what this is
or is it using some kind of other code?
-
thanks
i think may return to mapping just need to find some inspiration
-
i'm not sure if anyone remember me from the JKA forums (been there 1 or 2 years) i didn't really post that much
just wanted to say that the website looks really good so far
so keep up the good work
invisible light sources (shader)
in Modding Assistance
Posted
i know
i just wanted to see if it could be done
just for fun