Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Ray tracing and animation

If your Project uses ray-traced effects, you may need to perform further steps to display particular animations correctly.

## Alembic

If you use an [alembic](https://docs.unity3d.com/Packages/com.unity.formats.alembic@latest) animated mesh, the animation may not appear to play in ray-traced effects. To fix this:

1. Select the GameObject with the alembic animated mesh.
2. In the Inspector, find the **Mesh Renderer** component.
3. In the **Ray Tracing** section, set **Ray Tracing Mode** to **Dynamic Geometry**.

This allows the alembic mesh to animate in ray-traced effects.

## Skinned Mesh Renderer

If you use a [Skinned Mesh Renderer](<https://docs.unity3d.com/Manual/class-SkinnedMeshRenderer.html>) and the mesh is culled by the camera, the animation may not appear to play in ray-traced effects. To fix this:

1. Find and select the [Volume](Volumes.md) that contains your [Ray Tracing Settings](Ray-Tracing-Settings.md).
2. In the Inspector, find the **Volume** component.
3. Override and enable the **Extend Camera Culling** property.

This allows the Skinned Mesh Renderer to animate in ray-traced effects.

Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@
* [Recursive Rendering](Ray-Tracing-Recursive-Rendering)
* Shader Graph Keywords
* [Raytracing Quality](SGNode-Raytracing-Quality)
* [Ray Tracing and Animations](Ray-Tracing-Animations.md)
* Debugging
* [Debugging Ray-Traced Effects](Ray-Tracing-Debug)
* Components
Expand Down