Box/Quad clone methods

Phong lighting shaders
using multi draw indirect rendering
This commit is contained in:
devZoGok
2026-06-26 09:40:46 +03:00
parent 02c0c3b3fc
commit cc59f9160c
22 changed files with 873 additions and 168 deletions
+7 -7
View File
@@ -121,13 +121,13 @@ int main(){
* The AnimationController plays the animations set in the AnimationChannel objects.
* AnimationChannel objects require an animation and animatable objects, e.g. textures to work.
*/
AnimationController *controller = AnimationController::getSingleton();
controller->addAnimation(anim);
AnimationChannel *channel = new AnimationChannel();
controller->addAnimationChannel(channel);
channel->addAnimatable(driver);
channel->setAnimationName(animName);
channel->setLoop(true);
//AnimationController *controller = AnimationController::getSingleton();
//controller->addAnimation(anim);
//AnimationChannel *channel = new AnimationChannel();
//controller->addAnimationChannel(channel);
//channel->addAnimatable(driver);
//channel->setAnimationName(animName);
//channel->setLoop(true);
while(true){
root->update();