Jump to content

Home

Bespin Lighting


RichDiesal

Recommended Posts

I'm basically trying to recreate Bespin lighting... in other words, a constant blackness below all platforms that you can fall into and a constant uniform daylight on top.

 

Any hints as to how to do this?

 

I've tried setting an ambient light by putting both "ambient/300" and "light/300" in worldspawn but neither has worked... I do need to have other lights in addition to the daylight, as I have indoor areas.

 

Help, please. :)

Link to comment
Share on other sites

don't use ambient light

 

In theory - Use a sky shader and light entities. You'll get a decent brightness for the upside, and the bottom will fade into darkness (interior will be dark as well but you can light it)

Link to comment
Share on other sites

That's what I was trying to do, but where would I place the light entities since I need fully even lighting across large areas? If I place individual light entities all over the skyline (keeping in mind that I want to use the stock bespin sky shader), that creates splotchy lighting (with an overall unclean look).

 

Or should I just place a single light entity of extremely high radius in the center of the top of each outdoor area?

Link to comment
Share on other sites

Well, if you're talking about the lighting in the Bespin CTF map, they use a white fog (yavin) at the roof of the shaft and a black fog at the pit of the shaft to create that "fade to black" look. I did the same thing in my map, except that I used black on the top and bottom.

 

Screenshots:

http://www8.brinkster.com/cybervine/proxy/bespinvoid.html

 

Download:

http://www.jediknightii.net/jediknight2/jediknight2/maps/duel/duel_bespin-void1-1.zip

Link to comment
Share on other sites

Bespin and Yavin do not give off the light for "real-time" shadows to appear in a map.

 

What you should do is.. use the shader that says "LIGHT" at the end of the name.

 

example use: 'kejim_light' instead of the yavin or bespin shader.

 

No, I don't think that Bespin can give off real time lighting unless you edit the shader.

 

Hope that works, any other questions? :)

 

[Edit: **Note, this is only if you are going to have some sky in your level and you want to have 'cast' shadows with nice lighting.]

Link to comment
Share on other sites

Well, for the outdoor areas, the sky shader will take care of it, right? I remember in Quake 3 mapping that the daytime sky shaders cast a uniform Global light across the whole map (like sunshine). Correct me if I'm wrong.

Link to comment
Share on other sites

For the Bespin streets map in the single-player game, I used a sky shader for all the exterior lighting. There should be two Bespin sky shaders available that have different surfacelight parms because I needed a different value for the level where you fight Tavion. For the bottomless pits I used negative lights. If you use a negative value instead of a positive one for lights, you'll create an area of blackness. You can also use black fog, and there should be an appropriate shader available for use, but I decided to go with negative lights.

 

Hope this helps!

Link to comment
Share on other sites

My question warranted a response from Raven themselves... I feel privledged. :D

 

And yes, Oz, that was perfect! Exactly the effect I was looking for...

 

And for all the laymen out there attempting to use Bespin textures, this is the breakdown...

 

skies/bespin - No-light texture, good for indoor rooms that can see out into the Bespin skyline

bespin/sky - Full-light texture, good for bright outdoor areas

bespin/sky_platform - Low-light texture, good for low-lit outdoor areas (maybe bespin at night?)

 

Hope this helps someone. :D

Link to comment
Share on other sites

Well negative light was something I believe we added for Elite Force and carried over for JKII because they're handy and stuff, so I'm not surprised if they don't turn up in Q3A tutorials much. They're quite useful.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...