From 99b631a0a5cb3ae31bdbb3a45f57f3313bef8d6e Mon Sep 17 00:00:00 2001 From: Kiet Tran Date: Tue, 9 Nov 2021 17:07:30 -0600 Subject: Update artrender_app.cc to use toonDiffuse.png and toonSpecular.png --- dev/a5-artrender/artrender_app.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/a5-artrender/artrender_app.cc b/dev/a5-artrender/artrender_app.cc index 87f014b..e0d24c7 100644 --- a/dev/a5-artrender/artrender_app.cc +++ b/dev/a5-artrender/artrender_app.cc @@ -165,10 +165,10 @@ void ArtRenderApp::LoadShadersAndTextures() { // To try out different shading styles, you can replace diffuse.png and specular.png with // some of the other texture files in the data/ directory. - diffuse_ramp_.InitFromFile(Platform::FindFile("diffuse.png", search_path_)); + diffuse_ramp_.InitFromFile(Platform::FindFile("toonDiffuse.png", search_path_)); diffuse_ramp_.set_wrap_mode(GL_CLAMP_TO_EDGE); - specular_ramp_.InitFromFile(Platform::FindFile("specular.png", search_path_)); + specular_ramp_.InitFromFile(Platform::FindFile("toonSpecular.png", search_path_)); specular_ramp_.set_wrap_mode(GL_CLAMP_TO_EDGE); } -- cgit v1.2.3