Website powered by

Gwido - Interractive grass shader

For my latest group project, Gwido, i built an interractive grass system that makes the grass in the game reacts to any movement that passes through it. The system is based on capturing onscreen movement with an extra camera that is placed above the scene. This camera sends info about motions vectors to a shader that stores them as colors on a render texture and slowly fades them over multiple frames. The texture is then injected into the grass shader as vertex displacement.

Rough Breakdown of the system. Used for documentation

Rough Breakdown of the system. Used for documentation