moved ocean simulator texture updates to compute shader

This commit is contained in:
Turanszki Janos
2017-11-12 13:58:33 +00:00
parent 1eea400afc
commit c120530bb8
15 changed files with 120 additions and 238 deletions
+3
View File
@@ -9,6 +9,9 @@ OceanWindow::OceanWindow(wiGUI* gui) :GUI(gui)
float screenW = (float)wiRenderer::GetDevice()->GetScreenWidth();
float screenH = (float)wiRenderer::GetDevice()->GetScreenHeight();
//params.patch_length = 200.0f;
//params.wave_amplitude = 0.0f;
oceanWindow = new wiWindow(GUI, "Ocean Window");
oceanWindow->SetSize(XMFLOAT2(600, 300));
GUI->AddWidget(oceanWindow);