@@ -139,12 +139,13 @@ void DrawModel::onStartEngine(gengine::system::event::StartEngine &e) {
139139
140140 shader.locs [SHADER_LOC_VECTOR_VIEW] = GetShaderLocation (shader, " viewPos" );
141141 int ambientLoc = GetShaderLocation (shader, " ambient" );
142- float ambiantValue[4 ] = {0 .2f , 0 .2f , 0 .2f , 1 .0f };
142+ float ambiantValue[4 ] = {0 .1f , 0 .1f , 0 .1f , 1 .0f };
143143 SetShaderValue (shader, ambientLoc, ambiantValue, SHADER_UNIFORM_VEC4);
144144
145145 lights[0 ] = CreateLight (LIGHT_POINT, {1.16 , 1.40 , 4.76 }, {0 , 0 , 0 }, RED, shader);
146- lights[1 ] = CreateLight (LIGHT_POINT, {1.16 , 1.40 , 4.76 }, {0 , 0 , 0 }, RED, shader);
147- lights[2 ] = CreateLight (LIGHT_POINT, {6.8 , 1.4 , 4.5 }, {0 , 0 , 0 }, BLUE, shader);
146+ lights[1 ] = CreateLight (LIGHT_POINT, {6.8 , 1.4 , 4.5 }, {0 , 0 , 0 }, BLUE, shader);
147+ // lights[1] = CreateLight(LIGHT_POINT, {1.16, 1.40, 4.76}, {0, 0, 0}, RED, shader);
148+ // lights[2] = CreateLight(LIGHT_POINT, {6.8, 1.4, 4.5}, {0, 0, 0}, BLUE, shader);
148149}
149150
150151void DrawModel::onStopEngine (gengine::system::event::StopEngine &e) {
0 commit comments