AdamGamer

-_- it used to be one of featured images at Gamedev.net

http://www.gamedev.net/community/forums/topic.asp?topic_id=411753


  For the water surface animation, I use finite difference to solve 2 dimension wave equation in 128*128 mesh grid , this work is done by a pixel shader pass the result is kept in a float point texture, then the animated height field texture is passed to next vertex shader to be used as vertex texture fetch (SM3 is required). in addition use a bump map in pixel pass to capture small scale surface detail, this will produce beautiful surface over bright sun specular light.For the water surface lighting model, use sun specular + fresnel term.
Here is the demo
/Files/AdamGamer/GPUWaterSimulation.part01.rar
/Files/AdamGamer/GPUWaterSimulation.part02.rar
/Files/AdamGamer/GPUWaterSimulation.part03.rar
/Files/AdamGamer/GPUWaterSimulation.part04.rar

分类:

技术点:

相关文章:

  • 2021-11-02
  • 2022-12-23
  • 2021-09-02
  • 2021-10-08
  • 2021-09-18
  • 2021-08-20
  • 2021-10-03
猜你喜欢
  • 2022-12-23
  • 2021-04-23
  • 2022-12-23
  • 2021-08-25
  • 2021-10-09
  • 2022-12-23
  • 2021-09-24
相关资源
相似解决方案