flutter_cube icon indicating copy to clipboard operation
flutter_cube copied to clipboard

Shadow doesn't show

Open juliohurtado opened this issue 5 years ago • 1 comments

Seems that this widget doesn't show any shadows, even when the illum is set in the mtl file. Any ideas?

   Object modelo = new Object(
     backfaceCulling: false,
     fileName: 'assets/mask2.obj', scale: Vector3(10.0, 10.0, 10.0));


  Widget obj3d2() {
    Cube cube = new Cube(
      interactive: orientable,
      onSceneCreated: (Scene scene) {
        scene.world.add(modelo);
      },
    );

    return cube;
  }

juliohurtado avatar May 21 '20 08:05 juliohurtado

Does not support shadows..

zesage avatar May 22 '20 09:05 zesage