Proximity Color
Proximity Color is a special effect that allows you to change the color of a mesh based on the distance from the camera. This can be used to darken a mesh when it gets close, simulating local occlusion of light.
Min Color
- Type
- Color
What color to multiply the base color by when the distance is at or below the Min Distance. Typically, this would be set to Black in most cases.
Max Color
- Type
- Color
What color to multiply the base color by when the distance is at or above the Max Distance. Typically, this would be set to White.
Force BackFace Color
- Type
- Toggle
If enabled, applies the above set Min Color to show on the Back Face, as if the Camera is going inside the mesh.
Transition
Distance Type
- Type
- Dropdown
- Options
- Pixel PositiondefaultObject Position
Which position to use to determine distance.
Pixel Position: The distance is determined for each pixel, allowing different parts of the mesh to have different colors applied.Object Position: The distance is determined for the entire object, meaning that the whole mesh will have the same color applied.
Min Distance
- Type
- Float
Distance from the camera at which the Min Color should be applied.
Max Distance
- Type
- Float
Distance from the camera at which the Max Color should be applied.
Transition Curve
- Type
- Vector Curve
Curve modifier used to adjust how the transition should be operated.
Solid Transition
- Type
- Toggle
If enabled, the transition will be solid.
Color Options
Override Color
- Type
- Toggle
- Default
- On
If enabled, Proximity Color overrides the Color on the main texture. Typically, this should be kept enabled by default.
Override Alpha
- Type
- Toggle
If enabled, Proximity Color can also override the Alpha.
Override Emission
- Type
- Toggle
If enabled, Proximity Color can override any Emission.