Changed a few material parameters.
This commit is contained in:
parent
7ef0fddd1f
commit
3ae3c84a39
@ -629,7 +629,7 @@
|
||||
<ambientFactor>0.13</ambientFactor>
|
||||
<diffuseFactor>0.6</diffuseFactor>
|
||||
<specularFactor>0.4</specularFactor>
|
||||
<shininess>2.0</shininess>
|
||||
<shininess>1.0</shininess>
|
||||
<physicType>None</physicType>
|
||||
<renderable>true</renderable>
|
||||
</objectData>
|
||||
@ -641,7 +641,7 @@
|
||||
<ambientFactor>0.13</ambientFactor>
|
||||
<diffuseFactor>0.6</diffuseFactor>
|
||||
<specularFactor>0.4</specularFactor>
|
||||
<shininess>2.0</shininess>
|
||||
<shininess>1.0</shininess>
|
||||
<physicType>Box</physicType>
|
||||
<width>1.2</width>
|
||||
<height>6</height>
|
||||
@ -702,7 +702,7 @@
|
||||
<ambientFactor>0.13</ambientFactor>
|
||||
<diffuseFactor>0.6</diffuseFactor>
|
||||
<specularFactor>0.4</specularFactor>
|
||||
<shininess>2.0</shininess>
|
||||
<shininess>1.0</shininess>
|
||||
<physicType>TriangleMesh</physicType>
|
||||
<dampningL>0.555</dampningL>
|
||||
<dampningA>0.5</dampningA>
|
||||
@ -715,7 +715,7 @@
|
||||
<ambientFactor>0.13</ambientFactor>
|
||||
<diffuseFactor>0.6</diffuseFactor>
|
||||
<specularFactor>0.4</specularFactor>
|
||||
<shininess>2.0</shininess>
|
||||
<shininess>1.0</shininess>
|
||||
<physicType>TriangleMesh</physicType>
|
||||
<dampningL>0.555</dampningL>
|
||||
<dampningA>0.5</dampningA>
|
||||
|
@ -13092,7 +13092,7 @@
|
||||
<ambientFactor>0.13</ambientFactor>
|
||||
<diffuseFactor>0.8</diffuseFactor>
|
||||
<specularFactor>0.2</specularFactor>
|
||||
<shininess>3.0</shininess>
|
||||
<shininess>1.0</shininess>
|
||||
</terrain>
|
||||
|
||||
<skydome>
|
||||
|
@ -145,7 +145,7 @@ void Loader::load(std::string filePath, Level* level, std::string compositionsPa
|
||||
water_vao->bind();
|
||||
water_vao->setMode(GL_TRIANGLES);
|
||||
water_vao->attachAllAttributes(water_ab);
|
||||
Material water_material = Material(waterTexture, 0.1f, 0.2f, 0.8f, 5.0f, true);
|
||||
Material water_material = Material(waterTexture, 0.13f, 0.5f, 0.5f, 10.0f, true);
|
||||
Object* water_object = new Object(water_vao, water_material, glm::vec3(0.0f, 0.0f, 0.0f), glm::vec3(0.0f, 0.0f, 0.0f), true);
|
||||
level->setWaterPlane(water_object);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user