Texture Lighting

OlmyOlmy Join Date: 2003-05-08 Member: 16142Members, NS1 Playtester, Contributor, NS2 Developer, NS2 Map Tester, Reinforced - Diamond
<div class="IPBDescription">is a pain in the...</div> This is very annoying. I made light fittings with the texture lighting values 255 0 0 400 in the rad file. In game most of the colour information is lost and what you have is a very red saturated texture. Looky.

Any ideas how i can avoid this while still using texture lighting? Maybe different colour values?

Comments

  • MendaspMendasp I touch maps in inappropriate places Valencia, Spain Join Date: 2002-07-05 Member: 884Members, NS1 Playtester, Contributor, Constellation, NS2 Playtester, Squad Five Gold, NS2 Map Tester, Reinforced - Shadow, WC 2013 - Shadow, Retired Community Developer
    255 0 0 = Pure red
    400 = Intensity

    It's right... what were you trying to put?
  • OlmyOlmy Join Date: 2003-05-08 Member: 16142Members, NS1 Playtester, Contributor, NS2 Developer, NS2 Map Tester, Reinforced - Diamond
    I'm aware what the values represent, what i'm trying to say (i wasn't very clear) is that the white centres of the lights are altogether gone. I want the fitting to emit red light but not at the expense of making the texture look completely washed out <!--emo&???--><img src='http://www.unknownworlds.com/forums/html//emoticons/confused.gif' border='0' style='vertical-align:middle' alt='confused.gif' /><!--endemo-->
  • MendaspMendasp I touch maps in inappropriate places Valencia, Spain Join Date: 2002-07-05 Member: 884Members, NS1 Playtester, Contributor, Constellation, NS2 Playtester, Squad Five Gold, NS2 Map Tester, Reinforced - Shadow, WC 2013 - Shadow, Retired Community Developer
    You can always use overlays...
  • tomteverkstantomteverkstan Join Date: 2003-08-28 Member: 20304Members
    now im really intressed in what overlays is...
  • ShenTraXShenTraX Join Date: 2003-11-10 Member: 22434Members, Constellation
    <!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Mendasp Posted on Feb 6 2004, 07:41 AM
      You can always use overlays... 
    <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->

    correct, Overlays would achieve the effect you are looking for.
  • ShenTraXShenTraX Join Date: 2003-11-10 Member: 22434Members, Constellation
    edited February 2004
    see <a href='http://www.unknownworlds.com/forums/index.php?showtopic=61436' target='_blank'>this thread</a> i made today

    is about halfway through the post, but you'll find it.
  • OlmyOlmy Join Date: 2003-05-08 Member: 16142Members, NS1 Playtester, Contributor, NS2 Developer, NS2 Map Tester, Reinforced - Diamond
    I've always wondered what overlays are. Thanks.
  • OlmyOlmy Join Date: 2003-05-08 Member: 16142Members, NS1 Playtester, Contributor, NS2 Developer, NS2 Map Tester, Reinforced - Diamond
    edited February 2004
    One thing, can overlays emit light?
  • BelgarionBelgarion Join Date: 2002-07-19 Member: 973Members
    make the overlay texture emit light instead of the light texture.
  • Kouji_SanKouji_San Sr. Hινε Uρкεερεг - EUPT Deputy The Netherlands Join Date: 2003-05-13 Member: 16271Members, NS2 Playtester, Squad Five Blue
    An overlay is nohting more then a entity in front of the textured light and the texture you use on it can emit light if you set its properties in lights.rad

    I used an additive texture on my floorlights and let that texture emit light:

    <a href='http://members.home.nl/m.borgman/ns-forum/ns_achio/ns_achio31.jpg' target='_blank'>ns_achio screen 31</a>
  • OlmyOlmy Join Date: 2003-05-08 Member: 16142Members, NS1 Playtester, Contributor, NS2 Developer, NS2 Map Tester, Reinforced - Diamond
    Can anyone explain to me how to get this effect to have transparency? I tried overlays on a screen and it looks just as washed out as the lights in my original post <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo-->. I thought maybe making it a little transparent would tone it down. (i tried changing render amount but it seems to have no effect when using additive)

    Sorry for behaving like a complete noob.
  • Kouji_SanKouji_San Sr. Hινε Uρкεερεг - EUPT Deputy The Netherlands Join Date: 2003-05-13 Member: 16271Members, NS2 Playtester, Squad Five Blue
    edited February 2004
    Additive rendermode set to 255

    now all you need is a texture which is black at the edges and the color you want towards the center

    ns2.wad example "+0ctrl_01a_fx"

    [edit]the black becomes invisible and anything further away from the black tint is more and more visible

    btw you might want to try render mode 100 or something near this value, it has a more smooth feeling to it and also wont block the light texture behind it. I mean what good is an overlay if you cant see the lighttexture behind it <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html//emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /><!--endemo-->[/edit]
  • OlmyOlmy Join Date: 2003-05-08 Member: 16142Members, NS1 Playtester, Contributor, NS2 Developer, NS2 Map Tester, Reinforced - Diamond
    edited February 2004
  • KungFuDiscoMonkeyKungFuDiscoMonkey Creator of ns_altair 日本福岡県 Join Date: 2003-03-15 Member: 14555Members, NS1 Playtester, Reinforced - Onos
    I can't show you an example b/c I'm at school, but I often like to use the 'off' texture for the light fixture, and the overlay as a func_illusionary to give off the light.
  • ThaldarinThaldarin Alonzi&#33; Join Date: 2003-07-15 Member: 18173Members, Constellation
    <!--QuoteBegin-KungFuDiscoMonkey+Feb 6 2004, 09:19 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (KungFuDiscoMonkey @ Feb 6 2004, 09:19 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> I can't show you an example b/c I'm at school, but I often like to use the 'off' texture for the light fixture, and the overlay as a func_illusionary to give off the light. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    I designed a quick overlay tutorial, I missed out the nulling of some faces, although KFS added that as a comment. Below is the link:

    <a href='http://snarkpit.com/editing.php?page=tutorials&id=54' target='_blank'>http://snarkpit.com/editing.php?page=tutorials&id=54</a>
  • OlmyOlmy Join Date: 2003-05-08 Member: 16142Members, NS1 Playtester, Contributor, NS2 Developer, NS2 Map Tester, Reinforced - Diamond
    You might want to mention that putting render fx down to a smaller value like 150 might be necessary to make the texture not look saturated with one colour. (depends on what env_gamma is set to, i have it at 2.0 so i need to put render fx down to 100 to look decent.)

    Ok one last thing i need to ask, i want the overlay to flicker, like a flickering light or screen, so how do i get the light to flicker in time also? (texlight style and render style have totally different modes, like one has flourescent flicker and the other has fast flicker?) <!--emo&???--><img src='http://www.unknownworlds.com/forums/html//emoticons/confused.gif' border='0' style='vertical-align:middle' alt='confused.gif' /><!--endemo-->
  • ThaldarinThaldarin Alonzi&#33; Join Date: 2003-07-15 Member: 18173Members, Constellation
    <!--QuoteBegin-Edgecrusher+Feb 6 2004, 07:50 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Edgecrusher @ Feb 6 2004, 07:50 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> You might want to mention that putting render fx down to a smaller value like 150 might be necessary to make the texture not look saturated with one colour. (depends on what env_gamma is set to, i have it at 2.0 so i need to put render fx down to 100 to look decent.)

    Ok one last thing i need to ask, i want the overlay to flicker, like a flickering light or screen, so how do i get the light to flicker in time also? (texlight style and render style have totally different modes, like one has flourescent flicker and the other has fast flicker?) <!--emo&???--><img src='http://www.unknownworlds.com/forums/html//emoticons/confused.gif' border='0' style='vertical-align:middle' alt='confused.gif' /><!--endemo--> <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    It says for NS lower it a bit, I believe KFS mentioned his own values there too.

    I know of no other way of making lights flicker etc. without those options.
Sign In or Register to comment.