Author Topic: Bake RenderSubstances Async  (Read 3377 times)

 

any help please for   bake by script

   mySubstance.Bake( text  , Path_Export);


nothing look happen when try

https://docs.substance3d.com/integrations/c-example-script-170459665.html

sgo2.QueueForRender();//queue for render
            sgo2.RenderAsync();//render graph
            Substance.Game.Substance.RenderSubstancesAsync();//render all substances async

the grash of sbar look lost after

        // queue for render
        mySubstance.QueueForRender();
        //render all substances async
        Substance.Game.Substance.RenderSubstancesSync();


Bake error!, invalid directory 'C:/2019/SubStance/Assets/normal'!

i take the )path like this

          Path_Export =       Application.dataPath;

please help


Hi,

Could you post the full script you are working on? You can send it to me directly via PM if you don't want to share it here.

Cheers,
Wes
Head of Substance Demo Art Team
the3dninja@adobe.com
Twitter: The3DNinja