Table of Contents

This page provides information on the Corona Curvature map, its settings, and usage.

 

Overview


The Corona Curvature Map is a new map added in Corona 8 that colors a mesh based on its convexity/concavity. It's useful in creating masks of the inward and outward curvy areas of a surface.

 

 

Settings


Base color – Defines the color of the surface where it is flat.

Convex color The outward color that defines the color of the surface where it is convex.

Concave color Inwards color that defines the color of the surface where it is concave.

Max distance Determines the radius that the curvature traces. Can be used to match curvature between big and small objects.

Ray directionality – How strongly the tested rays will be concentrated around the normal. With a low value, all directions are considered equally. Increasing the value causes the shader to be more dependent on whether the direction directly above the surface is occluded or not.

Max samples How many samples to use. A higher value renders slower but produces clean results faster. Even low values will eventually converge to a clean image.

Color spread Changes how rapidly the convex/concave colors replace the flat color as curvature increases. Increasing this value means the result will have more of the convex/concave colors mixed in.

 

 

Examples


 
Ray Directionality 0

Ray Directionality 0.5

Ray Directionality 1

 

Corona Curvature Map Set to show white color on Convex areas only

Corona Curvature Map Set to show white color on Concave areas only

Corona Curvature Map Set to Using as multi-color map

 

 

 

 

Difference between Corona AO Map and Corona Curvature Map


 

In this example you can see that the AO and Curvature maps look very similar to each other.

 

In this example you can very clearly notice the difference between the AO and Curvature maps.