lfnetwork.com mark read register faq members calendar

Thread: lighting
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 07-12-2004, 04:38 PM   #1
epikon
Rookie
 
epikon's Avatar
 
Join Date: Sep 2003
Posts: 114
lighting

I was wondering, after texturing a light with a light texture how do i get it to have that glowing effect? I have the light source by the light but it dosnt seem to have that glowing effect. Thanks for helo

epikon is offline   you may: quote & reply,
Old 07-12-2004, 05:46 PM   #2
zeimi
 
zeimi's Avatar
 
Join Date: Jul 2003
Location: Finland
Posts: 68
To create the effect you mention you need to create a shader with your chosen textures and add a glow parameter to the blending stage with glow texture and possibly an optional flare effect.

A possible shader with the glow parameter highlighted could look like following:

Code:
textures/yourmap/yourlight
{
	q3map_flare	gfx/misc/flare
    {
        map $lightmap
    }
    {
        map textures/yourmap/yourlight
        blendFunc GL_DST_COLOR GL_ZERO
    }
    {
        map textures/yourmap/yourlight_glow
        blendFunc GL_ONE GL_ONE
        glow 
        rgbGen identity
    }
}
zeimi is offline   you may: quote & reply,
Old 07-12-2004, 10:12 PM   #3
shukrallah
White Dragon
 
shukrallah's Avatar
 
Join Date: Nov 2002
Posts: 3,250
Heres what I did, if your using the textures in the flares directory:

Cover the whole brush with nodraw, then (keep in mind, that you will only be able to see the flare on one side, the side you put it on) then put the flare texture you want on the side you want. If you put it on two sides, it will look like there are 2 flares (and also, sometimes you can see certain flars through walls.. keep that in mind.
shukrallah is offline   you may: quote & reply,
Old 07-13-2004, 05:17 AM   #4
{NJO}*Dark
Rookie
 
{NJO}*Dark's Avatar
 
Join Date: Feb 2004
Location: cyberspace.co.uk
Posts: 149
for the glow texture that you combine it with, how should that be made? Should it be a .jpg or .tag? Also, does the colour of the parts that glow effect the colour of the glow?


~Dark
{NJO}*Dark is offline   you may: quote & reply,
Old 07-13-2004, 02:39 PM   #5
StormTrooper789
Junior Member
 
StormTrooper789's Avatar
 
Join Date: Jun 2004
Location: Millington,TN
Posts: 258
I just use light entities and target_positions to do my lighting. Although I also use models. It is just easier to use entities!


I scored 12.03156% on the Geek Test.
What about you?

Official Internet Exploiter hater!

Did you know Microsoft wants to "Assimilate" you with their products?
StormTrooper789 is offline   you may: quote & reply,
Old 07-14-2004, 02:00 PM   #6
WadeV1589
Veteran
 
WadeV1589's Avatar
 
Join Date: Sep 2003
Location: Leeds, UK
Posts: 952
Except entities don't 'glow'....which is what this thread is about.


StargateMods.com - collaborating all the Stargate mods out there.

SG4RealJA - get a bit of SG realism!
SGEgyptJA - flying and dialing a gate only to be killed by it!
WadeV1589 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 > JA Mapping > lighting

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 08:14 AM.

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