Transparencys not working

PastryTheftPastryTheft Join Date: 2006-12-28 Member: 59290Members
<div class="IPBDescription">pure blue and pure black appear solid</div>Im using the ZHLT tools and my maps compile correctly except for the transparencys, anything pure blue or pure black appear as pure blue/black. any ideas on how 2 fix?

Comments

  • bERt0rbERt0r Join Date: 2005-03-23 Member: 46181Members
    What values do you use for rendermode, fx amount etc? Give some more information.
  • Spawn_of_Chaos97Spawn_of_Chaos97 Join Date: 2006-11-21 Member: 58694Members
    edited February 2007
    For making blue stuff invisible, be sure that the brush is a func_illusory or whatever that is and then set render mode to "additive" and render FX to 0 0 255. Render amount 255 and you're good to go.

    For black just make FX be 0 0 0.

    I'm not sure that I got the values correct, I don't have Hammer on this machine due to the fact that it's at school (lol).
  • Kouji_SanKouji_San Sr. Hινε Uρкεερεг - EUPT Deputy The Netherlands Join Date: 2003-05-13 Member: 16271Members, NS2 Playtester, Squad Five Blue
    The {xxx textures where blue needs to be invisible need to be a brush based entity, with

    - Render Mode: Solid
    - FX amount: 255

    For the textures wtih black in them (which needs to be invisible):

    - Render Mode: Additive
    - FX amount: 255

    ---> keep in mind that these additive textures, when not used as light overlays. Will appear very bright, if high FX amount values are used. For seetrough glass for instance values in between 15-30 should be used, or Render Mode: Texture (FX amount values in between 70-100)

    The texture with blue in them need the last indexed color to be the invisible color (blue), this is information if you want to create your own {solid textures. The additive textures will simply make everything which is pure black invisible, no special need for it to be on a specific index palette location...
  • Spawn_of_Chaos97Spawn_of_Chaos97 Join Date: 2006-11-21 Member: 58694Members
    Hmm...so the blue ones can't be "additive" too?...I'll have to remember that. Thanx Kouji!
  • Kouji_SanKouji_San Sr. Hινε Uρкεερεг - EUPT Deputy The Netherlands Join Date: 2003-05-13 Member: 16271Members, NS2 Playtester, Squad Five Blue
    hmm now you got me doubting as well <img src="style_emoticons/<#EMO_DIR#>/tounge.gif" style="vertical-align:middle" emoid=":p" border="0" alt="tounge.gif" /> I don't feel like testing it, but I am 90% sure that if you use additive on a {xxx texture the blue will simply be black instead of seetrough
Sign In or Register to comment.