Website powered by

Awarness VFX and Shader Unity HDRP

This effect represents a player waking up from a dream when their health reaches 0, requiring a level restart. The reflections show the room where the player will wake up. As health decreases, more glass shards appear on screen.
Technical Implementation:

Created in Houdini VATS using RBD bullet solver for glass breaking simulation
Idle animation uses looped RBD parts with angular velocity
Despawn effect reverses the glass breaking simulation
Initial plan to animate pieces in VFX Graph was abandoned due to maintenance complexity

Shader details:

Uses lit specular color with planar refraction and transmittance
Reflections implemented via cubemap
The shader adjusts the view direction vector using trigonometric functions (tangent of radians) to match the game camera's field of view when sampling the cubemap reflections. While perfect screen alignment wasn't achieved, the result was sufficiently accurate.