Тёмный

D-Buffer Decals changed my life! [UE5] 

PrismaticaDev
Подписаться 62 тыс.
Просмотров 15 тыс.
50% 1

Heeeeyyya, today we're talking about the D-buffer! The D-buffer is a buffer for the D. Decals, that is! HAHA! But seriously, the D-buffer can be used to help blend your decals with the underlying materials better, or to create completely new and unique shader effects! Think of it like Vertex Paint at the pixel level. Yolo!
----------------------------
Buy the Prismatiscape Interaction Plugin for $29.99!
prismaticadev.gumroad.com/l/a...
-----------------------------
Patreon: / prismaticadev
Twitch: / prismaticadev
Discord: / discord
RU-vid: / prismaticadev
Twitter: / prismaticadev
----------------------------
Computer Specs:
Ryzen 3900x 12-core CPU
MSI Geforce RTX 2080 Super
64GB Corsair RAM
One of those fancy nvme m.2 SSD's
Programs of choice:
Unreal Engine - (Game Dev)
Blender - (Animation and Modelling)
OBS - (Video/screen capture)
Davinci Resolve - (Video editing)
Adobe Photoshop - (Graphics and Texturing)
ProTools 11 - (Compositions and mixing)
OldSchool Runescape - (The best game)
Filmed using:
Sony A7s2 body
Sony 24-70mm f/2.8 GM lens
Yonguo YN360 LED's for colour
Yongnuo YN760 chip LED w/ Godox softbox for key
My lovely cats names are Boycat, Girlcat and Ladycat :)

Игры

Опубликовано:

 

22 янв 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 88   
@ZacDonald
@ZacDonald 5 месяцев назад
Deez tutorials have changed my life.
@ckay11002
@ckay11002 5 месяцев назад
Nutz how such useful tools are hiding just beneath the engine's surface
@PrismaticaDev
@PrismaticaDev 5 месяцев назад
HAha
@somename371
@somename371 5 месяцев назад
The idea of combining decals with height blending is just awesome
@YoanJallais
@YoanJallais 14 дней назад
Thank you so much for the tutorial! This is exactly what I needed for my project without even knowing it.
@OverJumpRally
@OverJumpRally 5 месяцев назад
Amazing stuff! I love placing decals around and these tricks can definitely come handy!
@Erfanbahrami
@Erfanbahrami 5 месяцев назад
You always do stuff that blow's my mind... Excellent video...keep up the good work
@MellowMornings-ox1yv
@MellowMornings-ox1yv 2 месяца назад
You are awesome, dint watch the video yet but you have always been an uncredible and talented dev!
@gnom_anonim
@gnom_anonim 3 месяца назад
love your content dude! very helpful and straight to the point
@noah8162
@noah8162 5 месяцев назад
Are you planning to do a video on render targets? Would love to learn how to play around with the mythic power of real-time texturing
@PrismaticaDev
@PrismaticaDev 5 месяцев назад
For sure - I'll be doing a video about Niagara2D (the output of which is usually a Render Target) but covering the original "Draw Material to Render Target" would be very handy as well
@Jayraj300Mind
@Jayraj300Mind 5 месяцев назад
i will be waiting for that @@PrismaticaDev
@AndrewWeirArt
@AndrewWeirArt 5 месяцев назад
Great video! I was very interested in all this at one point, and it seems you have covered pretty much all of the cool stuff. I don't know why this isn't used more, because with Nanite you can't do per-instance vertex colour . so this can feed into that system nice and easy.
@dembe3188
@dembe3188 2 месяца назад
Brother, you're majestic! Thanks for everything!!
@kevinhoward9930
@kevinhoward9930 5 месяцев назад
Really good stuff. Thank you for your great tutorials 👍
@PrismaticaDev
@PrismaticaDev 5 месяцев назад
Cheers! Thanks for watching :)
@zeropalooba8646
@zeropalooba8646 5 месяцев назад
This is so awesome. The gunshot decal thing is a crazy idea 22:19
@PrismaticaDev
@PrismaticaDev 5 месяцев назад
It definitely has a lot of potential haha. You could even apply the decals at half-opacity so they gradually reveal more and more damage layers!
@inflamethetreehouse
@inflamethetreehouse 5 месяцев назад
another banger! keep it up 🙏
@PrismaticaDev
@PrismaticaDev 5 месяцев назад
I plan to :)
@pamparam3495
@pamparam3495 Месяц назад
Awesome trick!
@vyacheslav1746
@vyacheslav1746 5 месяцев назад
PrismaticDev you also can use Stencil buffer to isolate decals one of another to make more complex effects with decals (which will not affect other objects, like default decals do)
@PrismaticaDev
@PrismaticaDev 5 месяцев назад
Heyo! I saw a post in out Discord about this very thing (after my original decals video) and decided to include it in an "Advanced Decals" video, since it could apply to both D-Buffer and regular Decals. I'll also be covering POM/BumpOffset decals in it as well
@matiasadrianmahler322
@matiasadrianmahler322 3 месяца назад
Would be cool to have a buffer id, so you can change how a material react when the decal is from an explosion or a blood splat...since you want it to break and show the bricks on an explosion but not from a blood splatter unless is acid blood
@TorQueMoD
@TorQueMoD 5 месяцев назад
Amazing video as always! Sadly this does nothing to stop a mass of decals from being ridiculously expensive to render though. lol. But awesome to know we can make them better. Sad that Epic hasn't just built this in as default functionality though.
@PrismaticaDev
@PrismaticaDev 5 месяцев назад
Yeah haha it's unfortunate. I don't think there's anything technical stopping decals from being instanced (if the material is the same) but it just isn't implemented, to my knowledge. It may be a different case with Niagara decals, but I'm yet to test that. Will definitely report findings in a video!
@TorQueMoD
@TorQueMoD 5 месяцев назад
@@PrismaticaDevYeah, I'm hoping they do something like Nanite Decals so we can use an unlimited number :)
@Lemniscate_Mike
@Lemniscate_Mike 4 месяца назад
We need a "9-Minute Nodes" playlist that explains literally every node in UE5 now... K thx!
@PrismaticaDev
@PrismaticaDev 4 месяца назад
Hahah luckily there isn't any difference between the Material graph in UE4/UE5 so I don't have to remake eeeeverything :P However, there are some new additions!
@Lemniscate_Mike
@Lemniscate_Mike 4 месяца назад
@@PrismaticaDev oh no no, I meant on the Blueprints side of things, mate. =D P.S. You're really doing God's work with your tutorials and such! Very quality videos!
@martyr4861
@martyr4861 5 месяцев назад
imagine having a dripping down decal for that bloody Decal on the Crick wall 10:30. Is the Material Node "Dbuffer" always been around or ist this somewhat new?
@glitchered
@glitchered 5 месяцев назад
so... the materials handle how decals will look on themselves? this is good stuff. a lil more computation per material, but i can see a use for that. dbuffer glass bullet hole refraction with a normal map. crimson wanted that a couple weeks ago. :)
@PrismaticaDev
@PrismaticaDev 5 месяцев назад
This is just my very limited knowledge/assumptions speaking, but I think performance-wise it actually evens out. The old way would need each mesh/material to process the decals individually, sort of how Forward Shading lights work. So if 1 decal spanned across 3 meshes, all 3 of them would need to process the projection of that decal. With the new way, the decals' projections are calculated from the depth buffer and then read from the materials in screen-space. The extra buffer obviously adds a bit of overhead but yeah. I also don't see why decal instancing isn't possible if the D-buffer gets drawn in 1 go.
@user-gn8gr2qm4o
@user-gn8gr2qm4o 2 месяца назад
"You can probably see where this is going". No dude, it's my first video on decals, I don't see where this is going :P
@mmertduman
@mmertduman 5 месяцев назад
If I setup my materials to have a custom bullet hole response on DBuffer roughness, then there is no way to use the roughness channel for other effects, right? i.e. the material doesn't know which decal the buffer values come from? I guess you can programmatically decide that some surfaces cannot get bullet holes and use the roughness for something else there, but that gets confusing very quickly..
@PrismaticaDev
@PrismaticaDev 5 месяцев назад
Some people have said you can use Stencil Channels to manipulate certain decals on certain surfaces, so there might some possibility there. But otherwise, yes haha. It would be really nice if Epic allowed you to make additional channels/rendering features easier. For example, I would love vec4 distance fields instead of Scalar. You could make meshes emit DF R but only receive DF G. Maybe one day...
@MelonadeFX
@MelonadeFX 5 месяцев назад
would it be possible to feed in angles of the decal in the material so you can lerp between different textures even, like a stretched out blood squib vs a top down splatter?
@PrismaticaDev
@PrismaticaDev 5 месяцев назад
That's an interesting idea... It would definitely be possible with a construction/begin play script on the decal actor using a line trace against the surface dotted against the splat direction, but I'm not sure there is enough data to work with in just the material itself.
@MelonadeFX
@MelonadeFX 5 месяцев назад
Hence I asked, i've done this before for bullet impacts and using de dot product to create 3 angled masks and swap the material instance depending on the value, but it'd be ofc much easier to work with it just in one mat, albeit with the added cost of extra texture samples.@@PrismaticaDev do you know if this also works on animated characters/skelmeshes?
@pebbers7060
@pebbers7060 5 месяцев назад
activate windows!! just kidding but epic video
@JieDu-yj2vd
@JieDu-yj2vd 5 месяцев назад
One of the problems is that if you want to mix with decal you need to set decal response to None, and then you have two decals on the same object, and you want one not to mix and the other to mix, and that's not going to work, because decal response is set to None, A dbuffer is required for all decals, otherwise they cannot be received
@PrismaticaDev
@PrismaticaDev 5 месяцев назад
To some extent, yes. However, if you just want to use one of the aux channels for extra effects (usually metallic, as it's kinda redundant) you can just apply the remaining channels as normal. However you do need to do it manually in the material or write a mat function to do it for you.
@now_ever
@now_ever 5 месяцев назад
Talking about bullet holes: Does regular decals support "parallax occlusion mapping"? I believe, I saw a video where guy make bullet holes with parallax. But I can't find it now.
@mendeleev_9H2PDsgXu7NmphCUEH
@mendeleev_9H2PDsgXu7NmphCUEH 5 месяцев назад
Can I create a new decal buffer and pass additional decal data alongside with default decal data? Or they are limited?
@vaillecgart1854
@vaillecgart1854 5 месяцев назад
Looking at this aswell, because for now, I'm also facing the fact that , If I go custom D buffer response, this means I "give up" the possibility to use regular decal on the same surface, while also having to be careful where I place these "custom" decal projector, as they might bleed very weird values onto material that doesn't have a specific dbuffer material response.
@PrismaticaDev
@PrismaticaDev 5 месяцев назад
@@vaillecgart1854 Correcto. There are certainly ways around it but you have to be careful and do some planning ahead of time.
@The9PointStar
@The9PointStar 2 месяца назад
Hi! i have a problem, i need to add wrinkles to a furniture with normals in the decal, but the normal of the wrinkles overrride the normal of the leather material base, is there a way to blend them together? thanks!
@PrismaticaDev
@PrismaticaDev 2 месяца назад
Hey hey - in the Decal material you can multiply the final opacity to make it "softer"
@DominikLevitsky
@DominikLevitsky Месяц назад
So am I correct to assume that used this way each decal is still causing an additional draw call?
@PrismaticaDev
@PrismaticaDev Месяц назад
I’m pretty sure - however I don’t see why batching them isn’t possible on a technical level. I’m curious about how Niagara decals work in that regard
@wilsman77
@wilsman77 5 месяцев назад
wow, this shit is bananas
@PrismaticaDev
@PrismaticaDev 5 месяцев назад
Ban nans
@Cabinet445
@Cabinet445 5 месяцев назад
wow this shit is bananas
@PrismaticaDev
@PrismaticaDev 5 месяцев назад
Pls no
@Drakuba
@Drakuba 2 месяца назад
i read decals are quite expensive, couldnt you have just a ball or field tell game where to change textures? That way you could have players react to colors changing (blood, damaged walls) adn NPC have programmed to react to the ball itself (if they are in the LOS)
@Mittzys
@Mittzys 5 месяцев назад
wow this shits bananas this shits crazy i cant believe the d-buffer is real
@PrismaticaDev
@PrismaticaDev 5 месяцев назад
John DBuffer
@PresidentNelson
@PresidentNelson 5 месяцев назад
Bee-aye-in-aye-in-aye-ess
@PrismaticaDev
@PrismaticaDev 5 месяцев назад
Gwen Stefani has entered the chat
@thelittlethingsthatmatter6690
@thelittlethingsthatmatter6690 5 месяцев назад
When do you think the next devlog will be?
@PrismaticaDev
@PrismaticaDev 5 месяцев назад
Probably in another decade or two :P
@thelittlethingsthatmatter6690
@thelittlethingsthatmatter6690 4 месяца назад
@@PrismaticaDev Lmao, I just really like the gameplay I was seeing. I've been watching the tutorial's to find the little bits I can. I love the progress that you've made from the first devlog, It's looking better then most AAA games.
@IstyManame
@IstyManame 5 месяцев назад
OK but why would you use traditional decals then?
@PrismaticaDev
@PrismaticaDev 5 месяцев назад
Less complicated and doesn't require any setup, I guess haha. You can always do both
@mikelkram
@mikelkram 5 месяцев назад
Spawning decals on glass surfaces (Blend Mode-Translucent) does not work properly in UE. If I'm not stupid and this question is really interesting, I could look at it in a video.
@PrismaticaDev
@PrismaticaDev 5 месяцев назад
Hey there! Yeah it's a bummer, since translucent materials don't draw to the Depth pass they don't seem to interact with the D-buffer. There's a tickbox for drawing translucent materials to the Depth pass but it still doesn't seem to work. Will definitely include it in my next Decals video if I find a solution!
@Tylru
@Tylru 23 дня назад
@@PrismaticaDev hey dude! Did you ever figure out a way to get dbuffer decals to draw into the depth pass? Doing similar experiments and came across this video in the search :D
@medmel2160
@medmel2160 3 месяца назад
I'm wondering if you activated windows since.
@PrismaticaDev
@PrismaticaDev 3 месяца назад
Nope :)
@Pierraxl
@Pierraxl 5 месяцев назад
Go to settings to activate Windows.
@VladyVeselinov
@VladyVeselinov 5 месяцев назад
Deez buffers
@swampdert
@swampdert 5 месяцев назад
simply 🍌🍌🍌
@PrismaticaDev
@PrismaticaDev 5 месяцев назад
Yum
@yvettenaomi3870
@yvettenaomi3870 5 месяцев назад
d-buffer? I hardly know her
@PrismaticaDev
@PrismaticaDev 5 месяцев назад
SHEESH
@Mittzys
@Mittzys 5 месяцев назад
DBufferDeez
@PrismaticaDev
@PrismaticaDev 5 месяцев назад
Gnuts
@Vylocity
@Vylocity 5 месяцев назад
deez bufferz
@PrismaticaDev
@PrismaticaDev 5 месяцев назад
AAAAAAAA
@capzor
@capzor 4 месяца назад
r u actually jesus in disguise
@KalikAP01
@KalikAP01 5 месяцев назад
Wow this shit bananas this shit so crazy cant believe the dbuffer is rael
@PrismaticaDev
@PrismaticaDev 5 месяцев назад
For rael for rael
@pygmalion8952
@pygmalion8952 5 месяцев назад
deez-n
@PrismaticaDev
@PrismaticaDev 5 месяцев назад
Biscuits
@xylvnking
@xylvnking 5 месяцев назад
Yes please feed me content
@PrismaticaDev
@PrismaticaDev 5 месяцев назад
Delicious
Далее
Marketplace Assets: Who, what, when, where, WHY?
24:32
Essential Environment Art Trick - "WPO Stickers" [UE5]
21:47
СТРИМ ► Elden Ring - Shadow of the Erdtree #4
5:55:46
How to add DETAILS to your Game Props
18:03
Просмотров 16 тыс.
The Strange Graphics Of LETHAL COMPANY
15:59
Просмотров 726 тыс.
Runtime Vertex Paint || The Best Bang-for-Buck Plugin
15:47
The Game That Hacks Your Brain
24:43
Просмотров 467 тыс.
Material Overlay - Everything You Need to Know -  [UE5]
21:21
Комбо Дня - 25 Июня - HAMSTER KOMBAT
1:34