Forum Rules

  • No flaming or derogatory remarks, directly or through insinuation.
  • No discussion, sharing or referencing illegal software such as hacks, keygen, cracks and pirated software.
  • No offensive contents, including but not limited to, racism, gore or pornography.
  • No excessive spam/meme, i.e. copious one liners in a short period of time, typing with all caps or posting meme responses (text/image).
  • No trolling, including but not limited to, flame incitation, user provocation or false information distribution.
  • No link spamming or signature advertisements for content not specific to Dota 2.
  • No Dota 2 key requests, sell, trade etc.
  • You may not create multiple accounts for any purpose, including ban evasion, unless expressly permitted by a moderator.

  • Please search before posting. One thread per issue. Do not create another thread if there is an existing one already.
  • Before posting anything, make sure you check out all sticky threads (e.g., this). Do not create new threads about closed ones.
  • It is extremely important that you post in correct forum section.

  • Balance discussion only in Misc.
  • All art related (such as hero model) feedbacks go to Art Feedback Forum.
  • All matchmaking feedback should go here: Matchmaking Feedback
  • All report/low priority issues should go here: Commend/Report/Ban Feedback
  • No specific workshop item feedback. These should go to workshop page of that item.
  • When posting in non-bugs section (such as this), use [Bugs], [Discussion] or [Suggestion] prefix in your thread name.

In case you object some action by a moderator, please contact him directly through PM and explain your concerns politely. If you are still unable to resolve the issue, contact an administrator. Do not drag these issues in public.

All rules are meant to augment common sense, please use them when not conflicted with aforementioned policies.
See more
See less

Request for a new (hidden?) ultra-high shadow setting on cl_globallight_shadow_mode

  • Filter
  • Time
  • Show
Clear All
new posts

  • Request for a new (hidden?) ultra-high shadow setting on cl_globallight_shadow_mode

    cl_globallight_shadow_mode currently has 4 levels which map to the in-game shadow setting, 0 being none, 3 being ultra. I'd love to see a new fourth level that increases the global shadow resolution to the next power of two—and maybe even a fifth level? It would make scenes with a long nearz <-> farz distance a lot easier to manage. It wouldn't have to be exposed in the in-game video options menu, just accessible with the console variable

  • #2
    There's a new commandline option that should do the trick: (where <size> is one of 1024, 2048, 4096, or 8192)
    -tools_sun_shadow_size <size>


    • #3
      Oh my gosh, thank you so much! This has been one of my biggest issues for ages, I'm so happy you added this control. From quick testing it seems like it's possible to cover a distance of ~15000 with even low angle lights (the one I'm testing things out with is sitting at only 36 degrees above the horizon).

      Here's a couple of screenshots for people:

      Being able to cover a distance of 14000 is huge.

      But it turns out it's even better than that... covering the entire Dota map (as the default camera settings do) looks decent now:

      I'm spotting some flickering where faces of models become partially black (this is a scene that covers a distance of about 3K):

      I remember seeing a similar behaviour when I tried making a global light that had an angle of exactly 90° — I think it really doesn't like faces that are "coplanar" with the light source? In this specific case, raising r_dota_ultra_slopescaledepthbias to ~10 eliminated the flickering, and depth of field made it fade away as well (I guess as the camera shifts around for the samples, it picks up on enough ones that don't show those faces as black). This is a very minor issue, and definitely easily workable around, as far as I can tell.
      Last edited by MaxOfS2D; 08-01-2018, 07:29 PM.


      • #4
        Hello again, I'd like to come out swinging with a request related to this: would it be possible to add a control (command-line or otherwise) that could control the "filter size" / blur applied to the global light shadow?

        That way we'd have shadows that don't look too sharp, but which still benefit from the maximum allowed resolution, and would therefore look very temporally stable!

        (My dream would be to also have the radius feature on the global light as well but that might be a lot to ask...!)