1. Forums
  2. Discord
  3. About Mapcore
  4. Patreon Supporters
  • Login
  • Register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • More Options
  1. Mapcore
  2. Discussions
  3. Level Design

Model transparency and self illumination doable? (source)

  • misterbister
  • September 7, 2007 at 1:42 PM
  • misterbister
    • September 7, 2007 at 1:42 PM
    • #1

    For adding transparency i use "Alphatest" 1 and it works flawlessly on my model, however I would like to add self illumination in some parts of the texture as well.

    The problem is that "alphatest" and "$selfillum" are both using the basetextures Alphachannel.

    How can I work around this problem? Is it even doable?

    Thanks in advance =).

  • Furyo
    • September 7, 2007 at 1:52 PM
    • #2

    Forget my stupidity for not reading the post right

  • fonfa
    • September 7, 2007 at 5:12 PM
    • #3

    you can make a separate map for it afaik

  • misterbister
    • September 7, 2007 at 6:04 PM
    • #4
    Quote from Furyo

    an envmapmask could help, with a bit of saturation. Look at the lost coast fresco materials for an example of valve's shaders.

    I dont understand how i could replace selfillum with an envmapmask? The results should be far from simliar..?

    Quote from fonfa

    you can make a separate map for it afaik

    In that case, what should I write instead of $selfillum "1" ?

    I cant find any info about it in the source sdk wiki.

  • PhilipK
    • September 7, 2007 at 6:58 PM
    • #5

    I've been trying this before if I remember right. Sadly I couldn't find a way to do it then.

    Somehow for this to work you must obviously be able to specify either the transperancy mask or the illumination mask as in the vmt as a separate texture. So far I don't think that's possible but I can be wrong.

    If you do find a way however please post what you did

    GL

  • Steppenwolf
    • September 8, 2007 at 12:08 AM
    • #6

    It is possible. Did it with the aimpoint of the M4 in Insurgency so it glows at night/in dark areas.

    The texture has to be a "UnlitGeneric" instead of a "VertexLitGeneric"

  • Wunderboy
    • September 8, 2007 at 1:21 AM
    • #7

    Thats interesting because technically, UnlitGeneric shouldn't work on models

  • misterbister
    • September 8, 2007 at 9:59 AM
    • #8

    Thanks alot for the help everyone.

    I really appreciate it.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!

Register Yourself Login
Discord

The Mapcore Discord is our lively IRC channel of the 2000s reborn. Chat about level design, gaming, and more.

Latest Posts

  1. BELEK: turning Rouen into competitive FPS maps (Godot project, feedback wanted)

    zlatan24
    November 12, 2026 at 6:23 PM
  2. CS2 sticker critique | Would the eye or blade read first on an AK?

    EmberKrakenCS2
    November 9, 2026 at 10:21 PM
  3. dod_poznan

    Smile_2000
    November 9, 2026 at 9:10 AM
  4. [cs2][WIP] De_digital (A side only) Looking for Feedback

    Howw3
    November 5, 2026 at 9:22 PM
  5. Hello from Normandy: Metin, working on a tactical FPS

    Thrik
    November 2, 2026 at 10:19 PM
  6. How do I setup CS1.6 mapping on linux?

    zlatan24
    November 2, 2026 at 6:43 AM
  7. CS:S | de_honor | Map creation process by D'artagnan

    Dartagnan
    November 1, 2026 at 5:41 PM
  8. Made a map maker for my indie game.

    daud2k7
    November 1, 2026 at 4:19 PM
  9. First CS2 Maps DM and Bomb Defusal

    zlatan24
    November 1, 2026 at 3:06 PM
  10. POLYSTRIKE - Finally Announced After Years of Development!

    MetinSaygin
    October 31, 2026 at 10:57 AM
  1. Privacy Policy
  2. Contact
Powered by WoltLab Suite™