Jump to content
The Dark Mod Forums

[ 2.10 ] New Frob Shader


duzenko
 Share

Recommended Posts

2 hours ago, AluminumHaste said:

Well, as long as the colour and alpha cvars are left exposed to users, you can just set the alpha to 0.

That sounds like a good idea for those who want to turn it off. I'd make the alpha a slider in the menu also. When it's set to 0 though, the engine should know to skip drawing it so it also recovers performance.

Link to comment
Share on other sites

17 hours ago, stgatilov said:

spawn atdm:moveable_flask1

Highlighting with plain white will make things look milky. Highlighting with diffuse texture does not work for some specular objects. There is no universal rule to highlight everything, I'm afraid.

Maybe, there could be a fixed set of different highlight strategies, which can be selected by the material and then applied by the highlight shader - so transparent stuff would get the treatment that currently is defined as stage in that flask's material.

Preset 3 (the really soft one) actually wouldn't look too bad if you could get rid of the artifacts.
It still literally highlights TDM's low standard asset polygon count though...

Link to comment
Share on other sites

  • 2 weeks later...

I've been playing TDM quite intensely for the last little while, going through my own WIP and playing the Hidden Hands series and haven't seen any problems with the new geometric frob outlines.  I use preset 2, the soft outline, which appears more finished.  I rejected preset 3, the image based preset, because my WIP has a lot of frobable 'grill' type transparent shaders where the outline fills the holes with white, not allowing for a peek thru'.  

Thanks stgatilov.  You guys are doing an awesome job.

  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...

For what it's worth I would add after spending significant time with each preset the one that in my experience has worked most reliably as intended is preset 2 - which I would add also looks significantly less bloom artifact laden with "r_frobOutlineColorA 2" set as was recommended earlier in the thread. Overall I think it's a great addition!

Link to comment
Share on other sites

While playing the two new beta missions I replaced the Frob Helper with a Frob Outline option that I have been asking for here again and again. Please just copy the lines below into the final 2.10 version, otherwise I will include it in my patch...

mainmenu_settings_gameplay.gui:

        choiceDef FrobHelper
        {
            rect        SETTINGS_X_OFFSET, 102+TT_OFFSET_Y, 80, MM_LINE_H
            choices        "#str_04221"            // No;Yes
            values        "0;1"
            cvar        "r_frobOutline"        // changed by wesp
            CHOICE_DEF
            toolTip("#str_01741")
        }

english.lang (and all the others):

"#str_01741"    "makes interacting with objects easier\n by displaying a bright white outline"        // changed by wesp

"#str_02319"    "Show Frob Outline"        // changed by wesp

Edited by wesp5
  • Like 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share


  • Recent Status Updates

    • Nort

      I just gave myself vertigo. A pleasant kind of vertigo, like the world has been lifted off my shoulders. I'll explain:
      Yesterday I saw to my dismay, that I had made my entire map two - two - units too short on every level - that every set01 piece was sticking 2 units into the ceiling. That's basically 402 brushes that needs to be realigned (minus the ground floor brushes).
      I knew enough about selections to do all of that in a very tense five minutes, and it compiled without leaks. (Thank you so much, Dark Radiant devs, for making an editor with such care for precision that you can align hundreds of brushes perfectly at once (which is not something I can say for Valve's Hammer editor, which has some serious issues on that front, which actually made me just quit it in disgust).) However, the result is that the entire level has now been stretched a barely noticable 2 units, and it will take some getting used to psychologically.
      · 0 replies
    • Nort

      My workflow is basically running from a chain of disasters, eventually trying to seek shelter in former disasters. It's not ideal - it's just my life.
      When I abandoned my first map, it was out of a typical mental breakdown, and so I returned to find a skybox void where the kitchen door should have been (due to a misplaced visportal) and two overlapping brushes Z-fighting on the kitchen floor.
      I've now cleaned up the last bit of mess, by cleanly separating every floor into its own layer. Now I can finally work on each floor in peace.
      ...not that I really needed to. Once you get skilled enough, the orthographic messes, well, I'll let this video speak for itself:
       
      · 1 reply
    • Nort

      Beams, beams, beams...
      Support beams, and cross beams, and then beams to fixate the support beams to the cross beams. The more beams you have in a map, the better. There's walls, floors and ceilings, but the rest of the map is pretty much just beams. Beams makes a thief happy.
      · 0 replies
    • jaxa

      Embracer Group is Buying Square Enix Montréal, Eidos, and Crystal Dynamics for “Only” 300 Million USD: https://wccftech.com/embracer-group-square-enix-montreal-eidos-crystal-dynamics/
      · 1 reply
    • duzenko

      Do we want fur in TDM? Like https://duzenko.github.io/webgl/
      · 6 replies
×
×
  • Create New...