Skip to content
Snippets Groups Projects
Verified Commit 9ebd1f14 authored by Tobias Frisch's avatar Tobias Frisch
Browse files

Remove unnecessary material and light adjustments

parent d4183b16
Branches
No related tags found
No related merge requests found
...@@ -276,20 +276,6 @@ int main(int argc, const char** argv) { ...@@ -276,20 +276,6 @@ int main(int argc, const char** argv) {
textureProps->useColorTexture = useColorTexture? 1 : 0; textureProps->useColorTexture = useColorTexture? 1 : 0;
if (useColorTexture) {
material.specular = glm::vec3(0.2f);
materialBuffer.fill(&material, 1);
lightProps.lightAmbient = glm::vec3(0.6f);
lightBuffer.fill(&lightProps, 1);
} else {
material.specular = glm::vec3(1.0f);
materialBuffer.fill(&material, 1);
lightProps.lightAmbient = glm::vec3(0.2f);
lightBuffer.fill(&lightProps, 1);
}
auto cmdStream = core.createCommandStream(vkcv::QueueType::Graphics); auto cmdStream = core.createCommandStream(vkcv::QueueType::Graphics);
core.prepareImageForSampling(cmdStream, diffusemapImage.getHandle()); core.prepareImageForSampling(cmdStream, diffusemapImage.getHandle());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment