Tried a mesh decal alternative for rendering damage effects.
@amu_mhr5389 Follower
12 Kommentare
Kommentare aus dem Originalbeitrag auf X (Twitter)

@HurricaneVr
Skinning the extra vertices a second time, no?
2 Likes

@amu_mhr
Niagara can read from skin cache, so no skinning required :)
2 Likes

@theinformation
Microsoft and other top Nvidia AI chip customers have cut some orders of Blackwell AI chip server racks due to overheating.
13 Likes

@theonlyonepaulo
Tutorial on this ?
1 Like

@itsBaffled
Ooh, any resources or tips on your approach?

@amu_mhr
It's based on my NiagaraProceeduralMesh plugin. You can loop over triangles in mesh and add to procedural mesh if it passes distance/overlap check with decal positions. You can also write additional data in vertex color and texcoords to sample texture/opacity mask.
5 Likes

@GameDevMicah
🤘🤘🤘

@vanormpg
Looks good! What about performance, how does it work with many characters?

@amu_mhr
Each character would probably require a unique Niagara system. Not collected any stats on the setup, but maybe it would be quicker for a lot of localized hit locations (not covering a large area as that would increase procedural mesh gen cost)
2 Likes

@blackholebrah
Is there a way to sample the underlying material? Such as using the height data to help "fill" in the damage.

@JacobBr81319923
Looks cool! But for most projectiles it's using raytraces, why not get the hit location, surface normal and then spawn a deferred decal at that location parented to a bone socket? I'm trying it in my game but maybe it's really unoptimized 😄

@amu_mhr
Not sure if decals would perform too bad (increased draw call + CPU cost for updating decals). But I think deferred decal could look 'floaty' since the collision trace is done against physics collider (not actual surface) + wont follow mesh deformation?
1 Like