Skip to content

v1.11.0 - Physics-Based Shadow Occlusion

Choose a tag to compare

@MikalDev MikalDev released this 02 Mar 23:40
· 43 commits to master since this release
5c9d9a9

Changes

glTF Static v1.11.0

  • Shadow occlusion: When a spotlight/point light has Shadow enabled, each GltfStatic instance raycasts to that light every frame via the mikalCannon3dPhysics behavior. If occluded by a physics body, the light dims to 20% intensity for that instance
  • Point light API: createPointLight(), setSpotLightType(), setSpotLightShadow() added to the scripting API
  • LightType: New "spot" | "point" type on SpotLight interface; constants LIGHT_TYPE_SPOT / LIGHT_TYPE_POINT exported from the bundle

glTF Spotlight v1.3.0

  • Shadow checkbox: New editor property to enable physics-based shadow occlusion on a per-light basis
  • Shadow state is persisted in save/load

Downloads

  • GltfStatic-1.11.0.0.c3addon - Main glTF 3D model plugin
  • GltfSpotlight-1.3.0.0.c3addon - Spotlight/point light addon