Nvidia Rain via DirectX 10

  • They are rendering sprites via the DX10 method (one vert input, 4 verts output)
  • Rain changes quickly as it falls, it refracts and reflects
  • These streaks are motion blurred
  • Columbia Univ precalculated the look of rain here
  • http://www1.cs.columbia.edu/CAVE/databases/rain_streak_db/rain_streak.php
  • Its a texture database
  • Inputs: viewing angle (not used in the nvidia sample)
  • light angle vertical, light angle horizontal
  • Texture format is L8 DDS, over 300 textures loaded
  • nvidia uses DX10 texture array, could use 3D texture or texture atlas