воскресенье, 31 января 2010 г.

Water

First tests with water. It's based on the article from GPU Gems 2.

2 pass rendering:

1) render all without water - refraction pass
2) copy image to refraction map
3) render all from "reflected" camera position - reflect camera position relative to water plane
4) copy image to reflection map
5) render water with reflection and refraction map

Комментариев нет:

Отправить комментарий