From 9cd011835a19de4bb6bee526563f64233b74dca3 Mon Sep 17 00:00:00 2001 From: "R.E. Kovalev" Date: Sun, 2 Apr 2023 09:21:46 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=BF=D1=80=D0=BE=D1=89=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=BF=D1=80=D1=8F=D0=BC=D0=BE=D1=83=D0=B3=D0=BE?= =?UTF-8?q?=D0=BB=D1=8C=D0=BD=D0=B8=D0=BA=D0=B0=20=D0=B4=D0=BB=D1=8F=20?= =?UTF-8?q?=D0=BF=D0=BE=D1=81=D0=BB=D0=B5=D0=B4=D1=83=D1=8E=D1=89=D0=B8?= =?UTF-8?q?=D1=85=20=D0=B7=D0=B0=D0=BC=D0=B5=D1=82=D0=BE=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 92e839e..cd9ffb8 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -322,7 +322,7 @@ int main(void) ssaoBlurShader.link(); // Модель прямоугольника - Scene rectangle = loadOBJtoScene("../resources/models/plane80000.obj", "../resources/models/", "../resources/textures/"); + Scene rectangle = loadOBJtoScene("../resources/models/plane2.obj", "../resources/models/", "../resources/textures/"); // Зададим горизонтальное положение перед камерой rectangle.root.e_position().y = -1; @@ -338,8 +338,6 @@ int main(void) Texture rectangle_heights(TEX_HEIGHTS, "../resources/textures/rekovalev_bumpmap.png"); rectangle.models.begin()->set_texture(rectangle_heights); - rectangle.models.begin()->material.displacementmapped = true; - // Шейдер для рисования отладочных лампочек ShaderProgram bulbShader; // Загрузка и компиляция шейдеров