Fullbright Model Textures Tutorial

Greetings! 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 The303 points.
  • Post: Give The303 your thoughts on this Tutorial.
  • Vote: Help The303 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

Join the community!

Join GameBanana

Already a Bananite? Login

Sven Co-op models supports a texture QC flag called "fullbright" which basically means the texture will be drawn at full brightness at all times.  This is used for things like screens, lights, and glows.  This quick tutorial will show some ways you can use this.

There are two main ways to use the "fullbright" flag, the first being a QC line in the same format as you would with "masked" or "additive".  This method must use the sven-coop studiomdl.exe found in the sven coop SDK folder located here to compile:
C:\Program Files (x86)\Steam\steamapps\common\Sven Co-op SDK\modelling

The way you would write the QC line out will be:
$texrendermode mytexture.bmp fullbright

The second method sets this flag in the model viewers known as HLMV Standalone or P2MV (Paranoia 2 Model Viewer).

This method is as simple as selecting the texture from the texture tab rollout and checking the "fullbright" box and then saving out the model.  This is especially useful if you want to set fullbright on existing models without decompile or if you want to use other compilers other than the sven version say for example an older version or XASH studiomdl.


1) First example we will set a texture to fullbright here on this ATM by setting the screen texture to fullbright.  As you can see here I have the fullbright line in the QC and am ready to compile:


2) Here is the compiled model viewed in HLMV Standalone.  Using ctrl and clicking and dragging the mouse I have changed the light direction and then used ctrl-click to move the light from top to bottom so I can preview how it looks in shade.  On the texture tab rollout here is the checked fullbright flag.



3) This is what the model looks like in game under various lighting conditions.


4) Now I want to introduce glowing effect method by combining fullbright with an Additive texture (additive blending is where pure black is transparent and anything lighter shows).  In this example I have made a glowing texture version of the ATM keypad.  The keypad polygons are simply duplicated and set to the new glowing keypad texture.



I know you are thinking "what about Z-fighting sorting errors due to the two planes occupying the same space? Shouldn't you move it out or use push from normal?".  True, you can do this but turns out you can make the engine sort the additive plane overtop if the texture is below the regular keypad in the texture rollout order.  This texture order can be verified in HLMV like so:

As you can see since the additive keypad texture is below the regular keypad texture, it will render first.

Using this method of keeping the planes in place has the advantage of not having an outline on certain shapes or a visible distance/outline from a moved plane. To better explain here is what the order looks like in 3DSMAX, MilkShape & Blender before final SMD export:



(Blender is Texure rollout tab, MilkShape3D is "Groups" tab, and 3DSMAX is Material ID number)


5)Now you can see the glowing keypad and the texture order.  Now see the model in game.



6) Another example id like to share is having a glow gradient texture to add to the mesh surrounding the screen.  I have detached this as a clone not as element but as its own mesh so I can re-UV all the planes to a small (16X64) dim gradient texture in facing outward directions.  See how it looks here?



7) Now see how it looks in game



This concludes the tutorial.

Posts

  • 4mo
    You, sir, are AMAZING.  Thank you so much for this.  I'm working on a package and I couldn't find this information anywhere else.  Here's my results:
    http://steamcommunity.com/sharedfiles/filedetails/?id=904333049

    It's dead easy.  I'm a hacker and I don't even use milkshape or blender, just notepad, decompiler, compiler and Jed's HLMV.
    Bananite
  • 5mo
    The303 avatar
    The303 Offline
    Member Joined 7mo
    Posted by CS PRO

    Does this work with the original Half-Life?
    Fullbright flag is Sven Co-op only, and was introduced in a Sept 2016 update.  There may be other mods that use it but yeah the flag wont work in standard HL1.
    • Informative x 1
    Bananite
  • 5mo
    Ezequiel-TM avatar
    Ezequiel-TM avatar you do not see
    Life Tree Flag Affiliation: Life Tree
    Member Joined 3y
    2,510 points Ranked 1865th
    39 medals 2 legendary 12 rare
    • Submitted 100 Skins Medal icon
    • 30 submissions featured Medal icon
    • Submitted 50 Skins Medal icon
    • Returned 1000 times Medal icon
    • 2nd Place - Site Improvement Ideating Contest Medal icon
    • 10 submissions featured Medal icon
    Posted by CS PRO

    Does this work with the original Half-Life?

    Unfortunately it does not work.
    I've tried it on several dark maps and it does not work

    10/10

    say what you want, I'm crazy! avatar
    Mantra
    say what you want, I'm crazy!
  • 5mo
    CS PRO avatar
    CS:GO Ports Flag Affiliation: CS:GO Ports
    Member Joined 3y
    6,116 points Ranked 725th
    31 medals 2 legendary 5 rare
    • Submitted 100 Skins Medal icon
    • 30 submissions featured Medal icon
    • Returned 1000 times Medal icon
    • 10 submissions featured Medal icon
    • Reached 50 subscribers Medal icon
    • Received thanks 50 times Medal icon
    CS PRO avatar
    CS PRO
    CS:GO Ports Flag
    CS:GO Ports
    Does this work with the original Half-Life?
    It's time .. For a change avatar
    Mantra
    It's time .. For a change
  • 5mo
    Mr. Why avatar
    Mr. Why avatar Offline
    Life Tree Flag Affiliation: Life Tree
    Member Joined 4y
    6,081 points Ranked 748th
    17 medals 1 legendary 3 rare
    • 30 submissions featured Medal icon
    • 10 submissions featured Medal icon
    • Returned 1000 times Medal icon
    • Received thanks 50 times Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    Mr. Why avatar
    Mr. Why
    Life Tree Flag
    Life Tree
    If you using Goldsrc, I have short way to set textures Full Bright :v
    .:.WhySoSerious.:. avatar
    Mantra
    .:.WhySoSerious.:.
  • 5mo
    Ezequiel-TM avatar
    Ezequiel-TM avatar you do not see
    Life Tree Flag Affiliation: Life Tree
    Member Joined 3y
    2,510 points Ranked 1865th
    39 medals 2 legendary 12 rare
    • Submitted 100 Skins Medal icon
    • 30 submissions featured Medal icon
    • Submitted 50 Skins Medal icon
    • Returned 1000 times Medal icon
    • 2nd Place - Site Improvement Ideating Contest Medal icon
    • 10 submissions featured Medal icon
    I did not know that that could be done, nice trick

    10/10

    say what you want, I'm crazy! avatar
    Mantra
    say what you want, I'm crazy!
  • 5mo
    NekroMancer avatar
    NekroMancer avatar @ffline
    105th Inc. Flag Affiliation: 105th Inc.
    Member Joined 2y
    882 points Ranked 5268th
    20 medals 1 legendary 6 rare
    • 30 submissions featured Medal icon
    • Returned 1000 times Medal icon
    • 10 submissions featured Medal icon
    • Achieved Game Moderator clearance Medal icon
    • Submitted 50 Skins Medal icon
    • Reached 50 subscribers Medal icon
    NekroMancer avatar
    NekroMancer
    105th Inc. Flag
    105th Inc.
    Nice tutorial mate, I'll use it in a future.

    10/10

    + Field Medic + avatar
    Mantra
    + Field Medic +

Share

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

More embeddable images

Bookmark and Share

Credits

Original Authors
The303
The303 Offline
Member Joined 7mo

Submitter

The303 avatar
The303 Offline
Member Joined 7mo

The303
Creator
  • Paypal Donate
Send a Private Message to the submitter

Category

Details

Difficulty Level
Intermediate Difficulty

Stats

Posts
7
Views
855
Date Added
5mo
Date Modified
4mo

Featurings

  • Today's Pick Mar 13 2017
bcp.crwdcntrl.net tracking pixel