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. Creative Chat

need help with specular map

  • rockdude86
  • August 3, 2008 at 4:41 PM
  • rockdude86
    • August 3, 2008 at 4:41 PM
    • #1

    so im trying to add a specular map to a wall texture ive made and when running in ldr it looks ok but when i use hdr everything turns completely shiny and my texture becomes plastic!

    here are some screenshots:

    with hdr:

    [Blocked Image: http://img227.imageshack.us/img227/1061/specproblemhdrpj0.jpg]

    [Blocked Image: http://img227.imageshack.us/img227/1061/specproblemhdrpj0.8823fdb149.jpg]

    without hdr:

    [Blocked Image: http://img293.imageshack.us/img293/7127/specproblemldrmk3.jpg]

    [Blocked Image: http://img293.imageshack.us/img293/7127/specproblemldrmk3.546ecb6100.jpg]

    as you can see the ldr version's specularity is barely visible so why does it turn into plastic in hdr mode? some help would be greatly apreciated

  • hessi
    • August 3, 2008 at 4:44 PM
    • #2

    that's what HDR does. it overbrights regions that are light intense. atm you are looking in a dark region and every tiny lightspot will be very bright due to the simulation of a human eye. if you want to bypass this effect even while being in HDR mode, you can define a region in your VMT file to lower the envmap intensity when in DX9 HDR mode. i don't have the code right in front of me but there exist several files in source engine games that use these commands.

    i hope this helped

  • rockdude86
    • August 3, 2008 at 5:25 PM
    • #3

    dont really know what kind of method your refering to but im already using the commands to lower the contrast and saturation.

    here is my vmt file:

    "LightmappedGeneric"

    {

    "$basetexture" "set01/brick01"

    "$bumpmap" "set01/brick01_normal"

    "$envmaptint" "[ 0.3 0.3 0.3 ]"

    "$normalmapalphaenvmapmask" 1

    "$envmapcontrast" 0.2

    "$envmapsaturation" 0.2

    "$envmap" "env_cubemap"

    "$surfaceprop" "brick"

    "%keywords" "set01"

    }

    dont know if it could be of any help but im not really sure if the hdr effect is the problem.

  • hessi
    • August 3, 2008 at 6:29 PM
    • #4

    HDR is the problem. you have to insert a special { } tag (which i dont know right now since it is cryptic and long) to detect HDR mode in the VMT and use a stronger "$envmaptint" command

  • rockdude86
    • August 3, 2008 at 6:42 PM
    • #5

    thanks for the help ill try to find the tag. i can probably find it on the valve developer wiki and ill try using a stronger envmaptint.

  • DvS
    • August 3, 2008 at 7:34 PM
    • #6
    Code
    "LightmappedGeneric_DX9_hdr"
    
    
          {
    
    
          "$envmaptint" "[x x x]"
    
    
          }

    This goes inside the LightmappedGeneric bracket.

  • rockdude86
    • August 3, 2008 at 9:57 PM
    • #7

    hmm i cant get that to work all i get when i replace the LightmappedGeneric tag with LightmappedGeneric_DX9_hdr is wireframe

  • Sentura
    • August 3, 2008 at 10:16 PM
    • #8
    Quote from rockdude86

    hmm i cant get that to work all i get when i replace the LightmappedGeneric tag with LightmappedGeneric_DX9_hdr is wireframe

    you don't replace it, you put the dx9_hdr tag INSIDE it.

  • DvS
    • August 3, 2008 at 10:51 PM
    • #9
    Quote from DvS

    This goes inside the LightmappedGeneric bracket.

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. Tangerine

    Harry Poster
    July 18, 2026 at 11:10 AM
  2. Any of the old guard still around? D:

    Warby
    July 12, 2026 at 8:23 PM
  3. About our archived forums

    Thrik
    June 30, 2026 at 2:12 PM
  4. Mapcore Discord

    mason_fan123
    June 24, 2026 at 8:52 PM
  5. [CS2] Valley

    Serialmapper
    June 22, 2026 at 11:56 AM
  6. Free Music / SFX Resource - Over 2500 Tracks

    Eric Matyas
    June 18, 2026 at 12:32 PM
  7. Pango [WIP]

    Elowen
    June 11, 2026 at 10:13 AM
  8. [CS2] Dvina

    Jeremy Rivera
    June 11, 2026 at 10:03 AM
  9. Bridges 2.0 by NEXSIDE, MAP SHOWCASE. ( Steam Workshop )

    MrTrane18
    June 1, 2026 at 7:46 PM
  10. Classic Maps Reborn For CS2

    SillySpaceCat
    May 31, 2026 at 10:33 PM
  1. Privacy Policy
  2. Contact
Powered by WoltLab Suite™