CORONA CHAOS AND THE CORONA DECAL OBJECT
Table of contents
Corona DECAL - INTRODUCTION
The Corona Decal object (CDecal) allows you to project a texture on an object without the target mesh needing valid UV mapping coordinates. The Corona Decal projected texture is loaded into an adjustable βcuboidβ (gizmo), which controls the decal size and projection limits.
Open the CoronaDecal.max file and start the Corona Interactive Rendering (Fig. 01).
Corona Decal is displayed as a simple box, with the top face textured by the image to be projected on the receiving geometries (targets).
Click on the Corona Decal icon in the Corona 8 toolbar, or go to Create TAB β Geometry β Corona β CDecal (orange arrows) to create a Corona Decal object. Pressing the CTRL key while dragging the mouse starts the creation from the geometric center of the Corona Decal object.
The pivot is 30cm from the top face of Corona Decal (when the total height is 100cm) because Pivot offset is set to 0.3 by default (on a scale of 0 to 1). This setting makes selecting the Corona Decal object in the viewport easier by avoiding overlap with the target objects (in this case, Floor). Try to think of the Corona Decal gizmo in a three-dimensional way, where the decal is projected onto all intersecting geometries. According to this principle, both Floor and Teapot (purple arrows) were textured with the yellow graffiti.
Now disable the CDecal_Start layer and enable CDecal_Samples, and then click Render. For a complete understanding of Corona Decal we need to analyze both the render (Fig. 02) and the orthogonal views (Fig. 03).
We start with the cyan Corona Decal (vertically oriented), with part of its volume above the wall. Since half of the Corona Decal intersects the wall, the graffiti letter M is projected about 50cm from the top of the target object (cyan arrow).
Let’s continue with the yellow and magenta Corona Decal objects. These two objects are also in a vertical position, with the yellow graffiti covering the word VICTOR. In the render, the letter R is not visible: the geometric position of the gizmo defines who overlaps what.
Corona DECAL - PARAMETERS
For the next parameters, disable the CDecal_Samples layer and enable CDecal. A vertical Corona Decal appears, with a CoronaPhysicalMtl applied. We loaded two maps: one for the Base color channel and one for the Opacity and Displacement.
On – enables or disables the texture projection of the Corona Decal object during rendering (Fig. 04).


>> place the mouse on the image to stop the animation <<
0 object exludedβ¦ – press this button to display the 3ds Max Exclude/Include window. We can now define which objects Corona Decal uses as a target objects by selecting the geometries in the left window and clicking the right double arrow “>>” button. We can also add an object in the list by selecting it in the viewport and clicking on the “+” button, without opening the Exclude/Include window. When we rightβclick on the “+” icon, three actions can be performed: delete all objects in the list, select the objects in the list, or add the selected objects to the list (Fig. 05).
From material – select this option when an Opacity map is available inΒ Corona Decal-applied shader (in this example, the black-and-white map in CoronaPhysicalMtl). Corona Decal is transparent where the opacity color is black.
Map – applies a different opacity map to that of the Corona Decal-assigned material (Fig. 06).
Replace base displacement – when the target object has the displacement effect enabled (the wall, in this case), turning on Replace base displacement will replace this effect with the displacement of the Corona Decal-assigned shader. Vice versa, the Corona Decal displacement will be added to the displacement of the target object (Fig. 07).


>> place the mouse on the image to stop the animation <<
3D bricks of the target Wall object are generated with Displacement through a shader. The material of CDecal_Graffiti also included a map in the Displacement channel. When Replace base displacement is disabled, the displacement effect of the Corona Decal material is added to the target shader. As a result, both displacements are visible. On the contrary, only the displacement of the Corona Decal will be taken into account.
Replace base bump – when the bump effect of the target objectisΒ enabled (the wall in this case), turning on Replace base bump will replace this effect with the bump of the Corona Decal-assigned shader. Vice versa, the Corona Decal displacement will be added to the bump of the target object.
Height – Corona Decal height (Fig. 09).
Fit to Bitmapβ¦ – click this button to select the texture that will define the width/height ratio of the Corona DecalΒ gizmo
Fit to assigned mtl – the texture loaded into the assigned material defines the width/height ratio of the Corona Decal object.
Depth limit – defines the depth of the Corona Decal object. Any object beyond this limit will not be affected by the decal.
Select the Corona_Camera_Front camera and set Zoom factor=1.5, move the Corona Decal object from 380 cm to 230 cm on the Y axis, and generate four renders using Depth limit= 5, 60, 130, and 170 cm (Fig. 10).
In the first test in Fig. 10, since the gizmo of the Corona Decal object does not intersect any geometry, the graffiti does not appear on any mesh. When Depth limit= 60 cm, the decal is projected on the first barrel (green arrows). With Depth limit= 130 cm, all barrels are textured (magenta arrows). Finally, the texture also appears on the wall when Depth limit= 170 cm.




>> place the mouse on the image to stop the animation <<
Max angle limit – limits the projection angle of the decal. 90deg means that the Corona Decal texture appears only on the front faces of the target objects, while the texture is also visible on the back faces by setting it to 180deg. With 1deg (minimum value), the decal is visible only on the faces parallel to the Corona Decal gizmo.
Let’s continue from the last settings in Fig. 10. To better display the effect of the Max angle limit parameter, disable the Base color texture of the barrels. ( Fig. 11).




>> place the mouse on the image to stop the animation <<
Max angle blur – defines the amount of blur near the edges of the decal when Max angle limit is used (Fig. 12).




>> place the mouse on the image to block the animation <<
Show material preview – manages the viewport display of the Corona Decal texture (Fig. 13).
Pivot offset – modifies the position of the gizmo, leaving the position of the pivot unchanged. Minimum value= 0.0, maximum value= 1.0, default value= 0.3 (Fig. 14).




>> place the mouse on the image to stop the animation <<
We Corona Decal chapter ends with a comparison of two renders (Fig. 15). In the first image, I used two Corona Decal objects and the white Wall material for the wall. In the second image, I disabled the CDecals layer and applied the WALL_Composite_Version material to the wall, enabling the UVW Map_Graffiti and UVW Map_Dirt modifiers. For an in-depth study on this shader, read the CoronaMix map chapter (page 625 of Corona: THE COMPLETE GUIDE).
The renders are very similar, but the complex setup of the WALL_Composite_Version material, the two extra UWV modifiers, the changes of Map Channels at shader and geometric levels, and the lack of flexibility of this mapβbased system, make Corona Decal a fast, reliable, and extremely effective tool.
THANK YOU!
A heartfelt thanks to all the new friends and students who believed in my project! I wish you hours and hours of pleasant study and reading.

DEMO
50 pages about CoronaLightMtl, CoronaSelectMtl, CoronaVolumeMtl, and CoronaRoundEdges