News:

One Minute Game Review by The Happy Friar: https://ugetube.com/@OneMinteGameReviews
Also on Rumble: https://rumble.com/c/c-1115371

idTech 4 (aka Doom 3 tech) Discord Server! https://discord.gg/9wtCGHa

Main Menu

How to works with decals?

Started by bitterman, April 27, 2017, 10:18:19 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bitterman

It's not about how to create material for decals.

It's about when/how it can be generated/placed on the surface.

E.g. is it possible to draw decals (like scratch, dirt etc) if one brush/model collide/dropdown/touch with others?

In vanilla assets I see decals only for projectiles (like bullets).
If it collide with brush then engine generate a decal, which is defined in projectile.def.

What entities (except projectiles) can generate decals? How type of collision allowed for decals?

Thanks.

P.S. On modwiki I see link to 'Alphabet Decals manual' but it sends in nowhere ((



argoon

Quote from: bitterman on April 27, 2017, 10:18:19 AM
It's not about how to create material for decals.

It's about when/how it can be generated/placed on the surface.

E.g. is it possible to draw decals (like scratch, dirt etc) if one brush/model collide/dropdown/touch with others?

In vanilla assets I see decals only for projectiles (like bullets).
If it collide with brush then engine generate a decal, which is defined in projectile.def.

What entities (except projectiles) can generate decals? How type of collision allowed for decals?

Thanks.

P.S. On modwiki I see link to 'Alphabet Decals manual' but it sends in nowhere ((


Is func_splat what you are looking for?

Btw Grimm has a custom system to splat decals on surfaces you could see how it was done.   

bitterman

Thanks, it's works.

After some experiments:

bitterman

#3
... and seems like only for brushes  :(

For actors I can generate decals only via idProjectile (but this is more powerful thing with wound&splat decals and smoke particles).

Something like static stretched plasma's projectile.