Feature spotlight:
This is "Using Chaos Scatter with Other Features of Corona". It is a part of a larger collection of articles:
- FAQ
- Getting Started
- Advanced Features
- Using Chaos Scatter with Other Features of Corona (you are here)
- Performance and Troubleshooting
Page contents:
- Using Chaos Scatter with Corona Decals
- Using Chaos Scatter with Corona Slicer Material
- Using Chaos Scatter with Distance shader
- Using Chaos Scatter with Chaos Cosmos
Using Chaos Scatter with Corona Decals
Corona Decals can be scattered on one or more surfaces using Chaos Scatter. This is useful for adding scene details such as graffiti, stickers, puddles of water, etc.
In this example, Corona Decal objects are scattered on a stone wall. The decal material is using a diffuse texture and an opacity texture:
In this example, the Corona Decals are scattered on a surface, creating dents in it. In this case, the decal material is using displacement and self-illumination:
Using Chaos Scatter with Corona Slicer Material
The Corona Slicer Material will cut through the scattered objects too:
Cutting a hole through a forest? No problem!
And the other way around - if you apply the Slicer Material to a Scatter, you can use it to cut through other geometry:
Using a Scatter to cut holes on the surface of a sphere.
Using Chaos Scatter with Distance shader
Any shader can be used to affect the scattering density (and other properties), including the powerful Corona Distance shader. A typical example is keeping some objects, such as trees or grass, away from buildings or paths. In the below example, we have a forest made with Chaos Scatter, and we are keeping the trees away from the building and the path thanks to the Corona Distance shader:
In this case, the Distance shader uses the house and the path (a non-renderable box) as the "distance from" objects. Any areas close to those objects are colored black, and the areas farther away are colored white. This shader is then used as the density map in the Chaos Scatter:
The Distance shader can also be used with animated objects, producing interesting effects, such as growth:
Using Chaos Scatter with Chaos Cosmos
Remember that you can use Scatter with Cosmos assets to:
- Load Scatter presets which are included in Cosmos (either import them into the scene, which will create a whole new Scatter; or select an object and then import a preset - this will treat the selected object as the distribute-on object).
- Import any Cosmos model into your scene and manually scatter it.
See the Cosmos part of this article for detailed instructions.
To learn more about the Chaos Scatter, see also: Chaos Scatter