Drawable game component for water rendering. Renders the scene to reflection and refraction maps that are projected onto the water plane and are distorted based on two scrolling normal maps.
Beispiel #1
0
 public void Dispose()
 {
     water = null;
 }
Beispiel #2
0
 internal void CreateWater()
 {
     _resources = REngine.Instance._resourceContent;
     water = new Water();
     this.Position = Vector3.Zero;
 }