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.
コード例 #1
0
ファイル: Water.cs プロジェクト: reisergames/reactor-v1
 public void Dispose()
 {
     water = null;
 }
コード例 #2
0
ファイル: Water.cs プロジェクト: reisergames/reactor-v1
 internal void CreateWater()
 {
     _resources = REngine.Instance._resourceContent;
     water = new Water();
     this.Position = Vector3.Zero;
 }