public enum MeshMapsWhich of the mesh maps to measure, beyond the normal and the displacement.
Remarks
The normal map and the displacement map are not in here because they are not optional. They fall out of the one ray the bake already casts, and the seven below are further measurements at the same texel, on the surface point that ray found.
⚠ AmbientOcclusion, BentNormal and Thickness are the expensive ones and nothing else here is. They are the only three that cast rays of their own — OcclusionSamples of them per texel, against the same tree — and the three of them together cost what one of them costs, because they share both the sample set and the loop. The other four are arithmetic on a hit the bake already has.
Fields and properties (9)
NoneJust the normal and the displacement, which is what a bake has always returned.
AmbientOcclusionThe unoccluded fraction of the cosine-weighted hemisphere.
BentNormalThe average unoccluded direction, from the same rays.
CurvatureMean curvature, interpolated from the source's cotangent Laplacian.
ThicknessThe occluded fraction of the same hemisphere, inverted through the surface.
PositionThe surface point, normalised into the source's bounding box.
WorldNormalThe source's normal, in the source's own space.
IdThe source's face group, nearest-sampled and never filtered.
AllAll seven.
Used by (10)
- BakeBuffersVixen.Geometry.Remeshing
- BakeSettingsVixen.Geometry.Remeshing
- MapBakerVixen.Geometry.Remeshing
- MeshMapTestsVixen.Geometry.Remeshing.Tests
- MeshMapAssetTestsVixen.Editor.App.Tests
- MeshMapBakePanelTestsVixen.Editor.App.Tests
- MeshMapBakeSettingsVixen.Editor.App
- MeshMapGeneratorBindingTestsVixen.Editor.App.Tests
- MeshMapLibraryTestsVixen.Editor.App.Tests
- TypeRegistrationVixen.Editor.App