Decal Framework 1.1 with Bloody Decals (Fluid)

Hi everybody!
Our decal framework allow you to create a decals in editor under development level design and in runtime. Make a design of your project more interesting and believable.

Video Page : 69 - 开云官方入口
Demo Scene : 63 - 开云官方入口
Download : 110 - 开云官方入口
User Manual : 6 Page 6 - 开云官方入口

Demo Project : Download Demo Project

Features

Platforms :

  • Windows
  • Mac OS X

Unity:

  • Versions : 2.6.1
  • Free (Basic)
  • Pro

Decal Mesh Generation :

  • Based on source surface mesh
  • Full Tangent Space Generation (or preserve for non-projective decals)

Decal UV Generation :

  • Projective
  • Preserve
  • Normalized

Additive :

  • Mesh offset adjustment
  • Mesh generation normal threshold
  • (NEW) Fluid decals. Pro only feature

Static Decals. The system allows you to create static decals in editore during scene development. Create a decal just like prefab and then use it repeatedly. Convenient positioning system allows for one click to put a decal on specified point. Using standard tools of Unity, you can quickly and easily configure other options: decal size, rotation, etc. After creating a set of decals system allows to combine all the decals of a given type at a specified object in single mesh, this feature allows you to optimize the draw calls for maximum performance. Combining can also perform automatically before starting the level, you need only call one function in a library.

Static Skinned Decals. You can create not only simple but also skinned decals. You can quickly and simply give each of your characters necessary uniqueness simply by adding to it a few decals such as stains, blood, patches on clothing and scratches on the body and much more.

Dynamic Decals. Dynamic decals are decals that are created in runtime, such às bullet holes, blood splatters, footprints. Our system allows you to create all these elements without which does not exist any serious project. For each dynamic decal is only necessary to call two functions from the library. The first creates a mesh decals, the second directly creates an object decals. The system monitors all created dynamic decals and controls their behaviour. Combining, randomization, and work with the texture atlas, destroing , fading. Combining the decals in runtime will reduce the draw calls to a minimum and to obtain high performance.

Dynamic Skinned Decals. Dynamic decals also can be skinned. You can easily create blood splatters or damage on your characters in runtime. The system can control the maximum number of decals on skinned object and quality of the skinning, 1,2,4 bones.

(NEW) Fluid Decals. You can create fluid decals like blood that flows down the walls.

Advanced. Often we need to create a decal on the surface that has bump mapping shader. If Decal has bump mapping shader by itself than we need for blending between the surface normal map and normal map of decals. Our system allows you to do this while preserving the original UV coords and tangential space of the source surface in decal mesh. To achieve the effect we provide several shaders which is a modification of Unity bump shader. All you need is either to use these shaders or write you own using our shader as an example , this is not so difficult.


Decal Framework 1.1 Released !

Changes :

  • Added support for fluid (bloody) decals
  • Bugfixes

Fluid decals is free for everybody like dynamic decals. Pro only feature!

For my next project I exactly need this. Perfect! Price is ok and fair I would say. Good job!

Thank’s :slight_smile:

I read that the dynamic decals is free.
Is it true?

Yes you can free use Dynamic and Dynamic Skinned Decals in your project. You need use unity prefab system for this.

Where I can find manual for decals? In your site I see only Scripting Manual, but I need simple manual for create decals in editor. Can you give me link for this?

This looks amazing.

Can’t believe I paid that other guy who showcased his promising decal project here. It had nothing, but he promised a lot of features so I wanted to support further developement. Then he ran away with my dollar. :stuck_out_tongue:

Ohh well, lesson learned. At least you have the features already. :slight_smile:

Have you stresstested it? I have a rough decal framework in my game and I was fiddling around with the combinechildren script so I could have hundreds of thousands of decals on screen at the same time without any impact on performance. The only problem which I wasn’t able to fix was that memory usage increased steadily with every new decal and even if you destroyed them and every reference to them the memory was still being used. The only way to free it was to restart Unity.

User Manual will be 13-14 June.

In our tool you have no performance lost and have no memory lost. All Decals and all new decal meshes properly destroyed in it’s own time. Take a look at profiler in runtime and you will see that.
Decals testet on all platforms, already.

This system work fine only with MeshColliders or, with any colliders types ?

OMG so cool… I was looking for something like this.

If nothing similar will be included in U3 I’ll buy!

By the way, how did you manage to retain bricks normal maps into the splat normals??? :shock:

One Click Position system works ONLY if object has collider (Mesh or any another type of colliders). Because we have no choise, and another way to get point in world space. Decal meshes generation based on any kind of mesh, usual mesh or skinned mesh. In Unity 3.0 you also will have access to Tree decals and Cloth decals.
Also in v 1.1 we will make support of “bloody (flow)” Decals

You can see that in our DecalBamp or DecalParallax shaders.

I just started working on something like this. Damn I hate when someone beats me to it :slight_smile:

But very nice project. Unlike most of so-called “decal systems” around these forums.

Mind if I ask how did you handle mesh clipping, for decal mesh generation? Isn’t it performance intensive? Did you use some kind of spatial partitioning on the mesh?

You just take mesh and cut it with six planes + a lot of different mathematics :slight_smile: That is all

That’s how I did it. However if you have a mesh with a lot of polygons, and you need a lot of decals generated fast, it can seriously slow down your scene.

For example I tried culling(not even clipping) a mesh with 2500 polygons, every frame. Frame rate dropped from 2500 to around a 100-150. That’s with an empty scene (only the 2.5k mesh loaded).

Now if you had a scene with 500-1000 draw calls and bunch of scripts where the CPU was already plenty busy, and multiple players running around shooting things with automatic rifles(multiple rounds per second), will there be a noticeable slowdown?

Just calculate how many times bullets will be hit something like this torus per frame!

Seems great, thanks :wink:

It’d be nice if your licensing matched Unity. Looks like one would need to buy two licenses in order to develop on both Mac and Windows.

This feature really looks good. I was wondering how to add detail to the road for a racing game such as more dirty areas, squid marcs in the curves and so on.

I’ll try to give it a try in the incoming days.

Hope adding details with this method does not reduce the performance in a great manner, or that it comes with some kind of LOD or a similar feature.