Search found 2 matches

by azerty
Thu Aug 08, 2024 8:50 am
Forum: Beginners Help
Topic: Should be obvious
Replies: 2
Views: 340

Re: Should be obvious

Hello,

Thank you for your reply. Using EmissiveColor helped.

Thanks again,
azerty
by azerty
Wed Aug 07, 2024 11:27 pm
Forum: Beginners Help
Topic: Should be obvious
Replies: 2
Views: 340

Should be obvious

Hello, I try to create an array of 3D boxes and give them a particular color. My problem is that the boxes stay gray. // Add a light. scene::ILightSceneNode* dirLight = smgr->addLightSceneNode(0, camera.getPosition(), video::SColorf(.5f, .5f, .5f), 50.f); // Create 3D array of boxes. for (int x = -5...