Glowing Textures (in the dark)

Hey, you! We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending Ankh points.
  • Post: Give Ankh your thoughts on this Tutorial.
  • Vote: Help Ankh win the Monthly Awards.
  • Rate: Give this Tutorial a rating out of 10.
  • Flag: Alert moderators and warn members of a problem with this Tutorial.
  • Watch: Get notified when this Tutorial is updated.
Mascot

Sound fun?

Sign up

Already a Bananite? Login

Glowing in the dark textures

DescriptionEver wondered why and how parts of textures glow in the dark? Here I will show you a simple way creating parts of textures (or the whole texture) glow in the dark.
Notes- It doesn't work with sprays, the shader doesn't support it.
- If you can't see the images in the tutorial itself, try to view them from the screenshots provided with the tutorial.
Requirements - Photoshop
- VTF Edit
The TutorialStep 1: Open up the texture in Photoshop. Choose your preferable selection tool, and select the areas you want them to glow.

Step 2: Switch to your "Channels" tab (while still having the selection on) and make sure there are exactly four channels: "RGB" "Red" "Green" "Blue" If there are any other channels, delete them. Now, while having your selection on, click on the "Create new channel" button:

Then go to "Edit > Fill" (SHIFT + F5) and click ok to fill the selected area with white:

Then it should look like this (depending on your area selections of course):
(CTRL + D to Deselect)

And now save the image as a Targa (TGA) with 32 bits.
Step 3: Next, head over to your VTF Edit, and import the image you have just saved. (If you don't know how to import images with VTF, please read more VTF tutorials in the tutorial section) To make sure you wanted the right glowing spots, click "View > Mask".

Step 4: Open the VMT of the texture, and add the following line:
"$Selfillum" "1"
Result

Posts

  • 2y
    Rymd avatar
    Rymd avatar Offline
    Refraction Studios Flag Affiliation: Refraction Studios
    Member Joined 2y
    2,682 points Ranked 1712th
    16 medals 1 legendary 1 rare
    • 15+ Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
    • Returned 1000 times Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 2016 Survey Participant Medal icon
    • Reached 1,000 Points Medal icon
    Rymd avatar
    Rymd
    Refraction Studios Flag
    Refraction Studios
    Posted by ColorExplosive

    When I looked at the .VMT for the spy's disguise kit (v_cigarette_case.vmt) it already had the line for "$Selfillum" "1". So I left it as is and now the screen on the case (which was the selection I chose) doesn't light up. Any suggestions?

    Check the Alpha Channel and make sure you fill it properly.
    pew pew avatar
    Mantra
    pew pew
  • 2y
    ColorExplosive avatar
    Member Joined 3y
    253 points Ranked 14839th
    When I looked at the .VMT for the spy's disguise kit (v_cigarette_case.vmt) it already had the line for "$Selfillum" "1". So I left it as is and now the screen on the case (which was the selection I chose) doesn't light up. Any suggestions?
    Bananite
  • 2y
    Ankh avatar
    Ankh avatar Offline
    Member Joined 12y
    75,502 points Ranked 51st
    34 medals 5 legendary 7 rare
    • 10 years a member Medal icon
    • 1st Place - The Set Christmas Conversion 2015 Contest Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
    • Received thanks 500 times Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • 6 years a member Medal icon
    > **Posted by Paronax**
    >
    > How can you guys pay 24$ a month for Photoshop? holy shit.

    Photoshop CS2 is free.
    For The Rebellion! avatar
    Mantra
    For The Rebellion!
  • 2y
    Devieus avatar
    Devieus avatar ONLINE
    Moderator Joined 7y
    79,794 points Ranked 48th
    63 medals 4 legendary 10 rare
    • 1st Place - Tutorial Contest Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
    • Returned 5000 times Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • GameBanana’s Christmas Giveaway 2015 Day Twelve Winner! Medal icon
    • GameBanana’s Christmas Giveaway 2015 Day Sixteen Winner! Medal icon
    > **Posted by Paronax**
    >
    > How can you guys pay 24$ a month for Photoshop? holy shit.

    You can use GIMP if you want.
    Sentinel of the TV remote avatar
    Mantra
    Sentinel of the TV remote
  • 2y
    Paronax avatar
    Paronax Offline
    Member Joined 3y
    747 points Ranked 6063rd
    How can you guys pay 24$ a month for Photoshop? holy shit.
    ALL HAIL THE GABEN! avatar
    Mantra
    ALL HAIL THE GABEN!
  • 4y
    Ankh avatar
    Ankh avatar Offline
    Member Joined 12y
    75,502 points Ranked 51st
    34 medals 5 legendary 7 rare
    • 10 years a member Medal icon
    • 1st Place - The Set Christmas Conversion 2015 Contest Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
    • Received thanks 500 times Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • 6 years a member Medal icon
    > **Posted by AiK.**

    > Hi there,
    > First of all, thanks for this tutorial, it is easy to read and understand.
    > Though it doesn't seem to work when I try to use it with parts of the playermodels in CS:S.
    > I want some glowing lights on my playerskins, like a display of an electric device is glowing.
    > But sadly it is not working properly.
    > So is it a mistake on my end or more like VALVe patched that feature out of CS:S to prevent kids from making fully glowing playermodels since it was an unfair advantage?

    I believe it has something to do with the recent Steampipe update, which changed a bit the order of where you put modded files. I haven't modded a source game in years so sadly I couldn't edit the tutorial to be compatible with the current version. However I highly doubt valve would patch out the fullbright effect.
    For The Rebellion! avatar
    Mantra
    For The Rebellion!
  • 4y
    AiK. avatar
    AiK. Offline
    Member Joined 10y
    429 points Ranked 9803rd
    6 medals 1 rare
    • 6 years a member Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    • 2 years a member Medal icon
    • 4 years a member Medal icon
    Hi there,
    First of all, thanks for this tutorial, it is easy to read and understand.
    Though it doesn't seem to work when I try to use it with parts of the playermodels in CS:S.
    I want some glowing lights on my playerskins, like a display of an electric device is glowing.
    But sadly it is not working properly.
    So is it a mistake on my end or more like VALVe patched that feature out of CS:S to prevent kids from making fully glowing playermodels since it was an unfair advantage?
    Highskilled Lowbob avatar
    Mantra
    Highskilled Lowbob
  • 5y
    Digital Assassin avatar
    Digital Assassin avatar Offline
    Member Joined 5y
    701 points Ranked 6420th
    20 medals 2 legendary 3 rare
    • Payday 2 First Adopter Medal icon
    • Reached 100 subscribers Medal icon
    • Payday 2 Early Adopter (5+ submissions) Medal icon
    • Returned 1000 times Medal icon
    • Reached 50 subscribers Medal icon
    • Texturer of the Month, March 2013 Medal icon
    Thanks for this!
    Hoxdelicious!!! avatar
    Mantra
    Hoxdelicious!!!
  • 5y
    gargar avatar
    gargar Offline
    Member Joined 5y
    thanks for the tutorial
    Newbie in Modelling avatar
    Mantra
    Newbie in Modelling
  • 5y
    Ankh avatar
    Ankh avatar Offline
    Member Joined 12y
    75,502 points Ranked 51st
    34 medals 5 legendary 7 rare
    • 10 years a member Medal icon
    • 1st Place - The Set Christmas Conversion 2015 Contest Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
    • Received thanks 500 times Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • 6 years a member Medal icon
    > **Posted by Monketron**

    > I tried using this tutorial while making a Zatochi skin for TF2. it wont even load the skin now.
    >
    > not sure what i am doing wrong. would be cool if there is a video tutorial.

    Maybe TF2 has slightly different coding because of the newer engine, but I doubt it, since most of the source games switched to it already.

    But then again, it's a tut for HL2/CSS.
    For The Rebellion! avatar
    Mantra
    For The Rebellion!

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Credits

Key Authors
Ankh
Contributors
Modderfreak

Submitter

Ankh avatar
Ankh avatar Offline
Member Joined 12y
75,502 points Ranked 51st
34 medals 5 legendary 7 rare
  • 10 years a member Medal icon
  • 1st Place - The Set Christmas Conversion 2015 Contest Medal icon
  • 15+ Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
  • Received thanks 500 times Medal icon
  • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
  • 6 years a member Medal icon

Ankh avatar
Ankh

Creator
Send a Private Message to the submitter

Category

Details

Difficulty Level
Intermediate Difficulty

Attributes

Stats

Posts
45
Views
30,028
Date Added
9y
Date Modified
2y

Scores

82 bScore
9.4 Rating
8.9 Critic

8 voters

1 critic

More from Submitter

bcp.crwdcntrl.net tracking pixel