trying to recreate baldur's gate 3's camera controller + cutout transparency effect! #unrealengine #gamedev
23 reposts336 likes
trying to recreate baldur's gate 3's camera controller + cutout transparency effect! #unrealengine #gamedev
23 reposts336 likes
added some bits to the thread! bsky.app/profile/arto...
the general gist: - Make a nice radial gradient in screenspace and offset it to center on the player's position > - only include pixels in the gradient if they're further away from the camera than the player pos* > - save it as a material function that any material can use in it's alpha mask!
pretty much! move a screenspace gradient around, ignore pixels past the player pos, add some noise, make it a material function, use it anywhere :D bsky.app/profile/arto...
the general gist: - Make a nice radial gradient in screenspace and offset it to center on the player's position > - only include pixels in the gradient if they're further away from the camera than the player pos* > - save it as a material function that any material can use in it's alpha mask!