UBC Theses and Dissertations

UBC Theses Logo

UBC Theses and Dissertations

Animating and lighting grass in real-time Bakay, Brook M.

Abstract

I present a simple method to render fields of grass, animated in the wind, in real-time. The technique employs vertex shaders to render displacement maps with Russian-doll style transparent shells. Animation is achieved by translating the surface according to a local wind vector while preserving the length of the blades of grass. Lighting is also done in a vertex shader, with point light sources, accounting for the anisotropic nature of grass, self-shadowing and attenuation. This technique achieves convincing results on current consumer graphics hardware and can be applied to other similar surfaces such as hair and fur.

Item Media

Item Citations and Data

Rights

For non-commercial purposes only, such as research, private study and education. Additional conditions apply, see Terms of Use https://open.library.ubc.ca/terms_of_use.