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

Phong creation

  • Psyrius
  • November 4, 2015 at 12:46 PM
  • Psyrius
    • November 4, 2015 at 12:46 PM
    • #1

    I'm abit confused on how to create a phong effect on textures. I've read here: https://developer.valvesoftware.com/wiki/$phong

    I think that site is often very helpful, but sometimes I feel most of the stuff is explained in a way towards an experienced mapper. I'm confused on some points and I could definitely experiment for hours to get the effect that I want. But I'd rather read/watch a tutorial somewhere so I don't waste my time.

    As an example, I have a feeling that if I manage to apply a phong effect on a material, the default settings ain't gonna cut it for all materials. So if I knew which parameters to edit and/or add/remove, things would be alot simpler.


    I know how to create a normal map. But not much else in this subject :)

    Hopefully someone of you can help me or link me a tutorial - cause I can't find anything.

  • tomm
    • November 4, 2015 at 1:46 PM
    • #2
    Quote from Psyrius

    cause I can't find anything.

    search m8

    https://migrationtest.mapcore.org/topic/18696-cs…&comment=399452

  • Psyrius
    • November 4, 2015 at 2:31 PM
    • #3
    Quote from tomm

    search m8

    https://migrationtest.mapcore.org/topic/18696-cs…&comment=399452

    Thank you. I searched and I saw that thread, but I guess I was scrolling through and reading too fast.

    Code
    $phongMaskContrastBrightness "[0 5]"

    Did he miss a dot there?

  • jackophant
    • November 4, 2015 at 4:00 PM
    • #4
    Quote from Psyrius

    Thank you. I searched and I saw that thread, but I guess I was scrolling through and reading too fast.

    Code
    $phongMaskContrastBrightness "[0 5]"

    Did he miss a dot there?

    No, the space is the separator for 2 different float values:

    With his example you can now refer back to the VDC article: https://developer.valvesoftware.com/wiki/$phong#New_Parameters

  • Psyrius
    • November 4, 2015 at 5:21 PM
    • #5

    Thanks guys ;)

  • Psyrius
    • November 4, 2015 at 10:13 PM
    • #6

    Can I get this to work indoors or does it only work if it's lit by the light_environment?

  • Squad
    • November 4, 2015 at 11:54 PM
    • #7

    No idea, but the answer may very well be in this topic, in case you missed it.

  • Psyrius
    • November 5, 2015 at 12:30 AM
    • #8
    Quote from Squad

    No idea, but the answer may very well be in this topic, in case you missed it.

    Yeah it seems it can't be lit up with normal lights. But from what I understand, I can make a prop out of a brush and get the phong effect from normal lights. Will experiment with that tomorrow :)

  • grapen
    • November 8, 2015 at 7:55 PM
    • #9
    Quote from Psyrius

    Yeah it seems it can't be lit up with normal lights. But from what I understand, I can make a prop out of a brush and get the phong effect from normal lights. Will experiment with that tomorrow

    That is correct. Brushes will only get phong'd by env light. The train models in de_train use phong however so you could study them.

    The content cannot be displayed because it is no longer available.

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

Users Viewing This Thread

  • 1 Guest
  1. Privacy Policy
  2. Contact
Powered by WoltLab Suite™