mirror of
https://github.com/storytold/texturecraft.git
synced 2026-11-22 15:30:46 +01:00
The secondary-ray maps now start from 64 rays reaching a tenth of the bounding-box diagonal (was 32 rays and a quarter), the defaults common to mesh-map bakers. Occlusion falls off linearly with the hit distance instead of with its square, on the CPU and in the GPU shader, so a hit halfway to the max distance counts half. Thickness keeps its 0.1 reach and also gets 64 rays; bent normals still share the occlusion rays. Tests: a floor under a ceiling at half the max distance bakes 0.5 occlusion (0.25 with the squared falloff), and the default ray settings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>