Skip to content

An (actual) proper fix to self shadowing: Normal Mapping Shadows and $ssbump #25

Description

@crypticalwastaken

This is very similar to self shadowing except it applies to normal maps.
It's also probably much easier to implement rather than using weird source shader lightwarp jank. http://enbdev.com/doc_normalmappingshadows.htm

Also valve technically already implemented self shadowing. http://wiki.polycount.com/wiki/Self_shadowed_bump_map
https://developer.valvesoftware.com/wiki/$ssbump
Only problem is that it isn't very good and is very limited in use.
I'm surprised to even find documentation on it
http://www.interlopers.net/forum/viewtopic.php?f=16&t=27513

In a way this is kinda like fake ssao but slightly different from real csm's implementation.

Definitely something to look into for the future.

Also this code from 2021 may also be a way to fake parallax with self shadowing in source without serious performance hiccups: https://github.com/iamyoukou/normalMapping

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions