From 8b82c6c25cec7ad16c60b2888cfd4f538d04d513 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Sat, 2 Mar 2024 10:35:27 +0800 Subject: [PATCH] support the new other codes. --- example/LightBasic/BlinnPhongDirectionLight.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/example/LightBasic/BlinnPhongDirectionLight.cpp b/example/LightBasic/BlinnPhongDirectionLight.cpp index 9b8fabdd..867d74ed 100644 --- a/example/LightBasic/BlinnPhongDirectionLight.cpp +++ b/example/LightBasic/BlinnPhongDirectionLight.cpp @@ -13,33 +13,19 @@ using namespace hgl; using namespace hgl::graph; -static float position_data[2][3]= -{ - {100,100,100}, - {0,0,0} -}; - static float lumiance_data[2]={1,1}; static Color4f white_color(1,1,1,1); class TestApp:public SceneAppFramework { - Color4f color; - - DeviceBuffer *ubo_color=nullptr; - private: Material * mtl_vertex_lum =nullptr; MaterialInstance * mi_plane_grid =nullptr; - Pipeline * p_line =nullptr; - Primitive * ro_plane_grid =nullptr; - VBO * vbo_pos =nullptr; - private: bool InitVertexLumMP()