Загрузка видео...

Не удалось загрузить видео

На главную

trying to recreate baldur's gate 3's camera controller + cutout transparency effect! #unrealengine #gamedev

57,232 просмотров • 11 месяцев назад •via X (Twitter)

Комментарии: 10

Фото профиля SULLY 💣 Wishlist BOMBSHELL BLITZ
SULLY 💣 Wishlist BOMBSHELL BLITZ11 месяцев назад

not bad for an evening's work - still a few kinks to iron out but I feel like i've improved the implementation of the fade a lot since I last attempted that kinda thing. Will continue posting progress as I go and probably do a bigger breakdown once i've landed on something good!

Фото профиля SULLY 💣 Wishlist BOMBSHELL BLITZ
SULLY 💣 Wishlist BOMBSHELL BLITZ11 месяцев назад

the 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

Фото профиля SULLY 💣 Wishlist BOMBSHELL BLITZ
SULLY 💣 Wishlist BOMBSHELL BLITZ11 месяцев назад

*it's important to FLATTEN the height of your position values for the distance comparison, otherwise pixels on surfaces that are *higher* will technically be considered close enough to the camera to not be culled

Фото профиля Trent Cantrell
Trent Cantrell11 месяцев назад

That's not bad at all. I think I would like a larger cutout and perhaps semi transparency but this would be good enough.

Фото профиля SULLY 💣 Wishlist BOMBSHELL BLITZ
SULLY 💣 Wishlist BOMBSHELL BLITZ11 месяцев назад

Definitely bigger - I just made mine small since my environment is mini and I wanted to exaggerate the effect! Transparency would skyrocket the performance cost unfortunately. Alternatively you could use dithering but the noise is less appealing imo and susceptible to ghosting

Фото профиля Yuka!Slz
Yuka!Slz11 месяцев назад

yooo!! that's awesome!!

Фото профиля SULLY 💣 Wishlist BOMBSHELL BLITZ
SULLY 💣 Wishlist BOMBSHELL BLITZ11 месяцев назад

thanks Yuka!!!

Фото профиля Prim27 | TFF
Prim27 | TFF11 месяцев назад

That's pretty slick

Фото профиля Lesbiandrea • Jurassic June 2025
Lesbiandrea • Jurassic June 202511 месяцев назад

Nice! Pretty sure the first use of this was in Neverwinter Nights.

Фото профиля Hacktivate Nation
Hacktivate Nation11 месяцев назад

That’s fuc*ing awesome!!!

Похожие видео

Karlach from Baldur's Gate 3.
0:20

Sensitive content

Karlach from Baldur's Gate 3.

DiNamuuu3D

381,407 просмотров • 2 лет назад