← Back to Portfolio

Procedural Feather Animation · Technical Art

Feather Falloff Shader

A procedural wing shader exploring spatially controlled feather disintegration. Baked geometry data and custom shader logic drive feather-level movement, rotation, scaling, and visibility.

Autodesk Maya  /  Unity HDRP  /  Shader Graph  /  HLSL

Watch featured demo on YouTube ↗

A wing, controlled in space.

I built this personal technical art study to explore how baked geometric information could drive procedural animation in a real-time shader. I prepared feather position data in Maya, reconstructed that information in Unity HDRP Shader Graph, and integrated custom HLSL functions with spatial falloff controls to animate the wing's disintegration.

My contributions

  • Maya-side position data preparation.
  • WingFeather and WingBase Shader Graph architecture.
  • Integration of custom HLSL functions.
  • Spatial control of per-feather transformations and visibility.
Winged character in the Unity scene with a green box-shaped control volume intersecting one wing
The Unity scene view shows the control volume alongside the wing. The volume provides a spatial region for the effect, rather than treating the wing as a single moving object.

From Maya geometry to shader data.

The effect begins with information carried by the mesh. The recovered Maya Wing has 15,438 vertices and four UV sets: UVMap, UVMap2, shellPosXY, and shellPosZ.

  1. 01 / GeometryMaya wing mesh
  2. 02 / DataAuxiliary UV position data
  3. 03 / ReconstructionShader-side position information
  4. 04 / ControlPer-feather transformations
Green-to-white reconstructed spatial debug visualization of the wing in Maya
Reconstructed spatial debug view from stored worldPos vertex-color data. This is not an original capture of the historical bake, nor a visualization of shellPosXY or shellPosZ UV values. Select image to inspect at full resolution ↗

Position information travels with the mesh

Position-like values were stored in the auxiliary shellPosXY and shellPosZ UV sets to support feather-level calculations and transformations in Unity.

The mesh also contains Attribute and worldPos vertex color sets. The green-to-white image is a later spatial visualization reconstructed from worldPos; it documents that reconstructed view, not the original baking procedure.

Inspect the Maya debug view with wireframe overlay ↗

The named Maya UV sets and Unity channel indices are documented separately: the available media does not verify their exact export mapping.

Baked Position / reconstructing the input

The graph's Baked Position region reads UV2 and UV3. Its visible split, combine, multiply, and transform nodes reconstruct position information for the downstream feather controls.

Baked Position Shader Graph group reading UV2 and UV3 into split, combine and transform nodes
UV-channel reconstruction in WingFeather. The screenshot documents the node connections; the original baking script and export mapping are not included. Select image to inspect at full resolution ↗

One effect, distinct control modules.

WingFeather separates position reconstruction, box-volume sampling, offsets, rotation, scaling, and output into readable regions. The overview shows their connections; the details below isolate the parts that shape the effect.

Full WingFeather HDRP Lit Shader Graph with grouped position, offset, rotation, scaling and output regions
WingFeather architecture overview: position reconstruction, spatial controls, transformations, and output. Select image to inspect at full resolution ↗

Spatial falloff / control volume

SampleBoxVolume receives a WorldToBox matrix and position input to evaluate a box-shaped region. Its output feeds the graph's transformation controls.

The X Offset and YZ Offset groups organize the displacement response along different directions. Together, they make the falloff spatially controllable rather than a uniform change across the whole wing.

SampleBoxVolume custom function beside the X Offset and YZ Offset groups
Box-volume sampling and directional offsets. The custom-function interface is visible; its cropped body is not treated as a complete implementation. Select image to inspect at full resolution ↗

Procedural rotation & scale

The Rotation group includes the RandomAxisAngle custom function and a Rotate About Axis node. A separate Scale group adds size variation to the displacement and rotation controls.

These modules shape the movement of individual feathers as the spatial control changes. The graph makes their roles and connections visible without establishing the complete randomization or transformation formulas.

WingFeather Rotation and Scale groups including RandomAxisAngle and Rotate About Axis
Rotation and scale are separate modules within the same procedural effect. Select image to inspect at full resolution ↗

WingBase / visibility

WingBase is a separate HDRP Lit graph. Its box-volume-related masking feeds the material's alpha path, with alpha clipping enabled and an Alpha Clip Threshold connection visible.

This keeps the base material's visibility control distinct from WingFeather's transformation network. Both graphs contribute to the same wing effect.

WingBase HDRP Lit Shader Graph with SampleBoxVolume masking, alpha connections and alpha clipping enabled
WingBase handles a separate material graph with spatial masking and alpha-clipping-related output. Select image to inspect at full resolution ↗
Inspect WingFeather's final vertex and fragment connections
WingFeather graph detail showing position reconstruction connections and final vertex and fragment output
Output detail: the final connections bring the position and visibility controls into the shader output. Select image to inspect at full resolution ↗

The same effect, seen again.

Three additional recordings show the wing effect from alternate perspectives or control states. They are views of the same shader, not separate effects or development stages.

Additional View 01

Project still of the feather effect; load the video for this recording
Watch additional view 01 on YouTube ↗

Additional View 02

Project still of the feather effect; load the video for this recording
Watch additional view 02 on YouTube ↗

Additional View 03

Project still of the feather effect; load the video for this recording
Watch additional view 03 on YouTube ↗

Data preparation is part of the effect.

This study connects Maya-side mesh preparation with shader-side procedural control. Carrying position information into the graph creates a foundation for feather-level transformations, while the box-shaped control volume provides a spatial way to direct the disintegration.