Browse Source

33-pom: Added screenshot.

Branimir Karadžić 8 years ago
parent
commit
8ca270a449
2 changed files with 2 additions and 1 deletions
  1. 2 1
      examples/33-pom/pom.cpp
  2. BIN
      examples/33-pom/screenshot.png

+ 2 - 1
examples/33-pom/pom.cpp

@@ -168,7 +168,7 @@ class ExamplePom : public entry::AppI
 		m_shading_type = 4;
 		m_shading_type = 4;
 		m_show_diffuse_texture = true;
 		m_show_diffuse_texture = true;
 		m_parallax_scale = 50;
 		m_parallax_scale = 50;
-		m_num_steps = 4;
+		m_num_steps = 16;
 	}
 	}
 
 
 	virtual int shutdown() BX_OVERRIDE
 	virtual int shutdown() BX_OVERRIDE
@@ -263,6 +263,7 @@ class ExamplePom : public entry::AppI
 				);
 				);
 
 
 			ImGui::Begin("Properties");
 			ImGui::Begin("Properties");
+			ImGui::SetWindowPos(ImVec2(m_width - 240.0f, 20.0f));
 
 
 			ImGui::RadioButton("No bump mapping", &m_shading_type, 0);
 			ImGui::RadioButton("No bump mapping", &m_shading_type, 0);
 			ImGui::RadioButton("Normal mapping", &m_shading_type, 1);
 			ImGui::RadioButton("Normal mapping", &m_shading_type, 1);

BIN
examples/33-pom/screenshot.png