Setting PBR Instance Properties from scripts

A public forum for discussing and asking questions about the Octane for Unity Alpha

Moderator: ChrisHekman

Post Reply
jalley
Licensed Customer
Posts: 28
Joined: Thu Aug 31, 2017 6:00 pm
Contact:

Hi all,

We are wondering whether it is possible to modify PBR Instance Properties attributes such as "RenderLayerID" and/or "BakingGroupID" from Unity external scripts.
It is possible from the UI interface but what if you want to assign many (hundreds of meshes) to another layer ID, it would require huge manual effort making it a daunting task (selecting multiple objects and modifying these attributes does not work).

It looks an extremely useful feature to organize render layers/passes for a moderatly sized scene without manual intervention, but simply automatizing it from scripts.
Otherwise a multiple-selection one single assignment could also work.

Any clue on how to approach this problem?

Thanks,
- jalley

PD. Another interesting case would be to create a custom info/shader pass, but I don't think this is yet supported, Am I right?.
ChrisHekman
OctaneRender Team
Posts: 1058
Joined: Wed Jan 18, 2017 3:09 pm

There is currently no supported way to do this.
We are looking into providing a API and exposing these variables.

Ill take a look why it is not possible to edit multple components at once.
MikeGardiner
Posts: 11
Joined: Wed Sep 27, 2017 5:36 am

Yep this is something we need badly - either exposing the component through script or at least fixing the issue with editing multiple items. I'll add my vote to this, to hopefully get fixed soon!
User avatar
SamuelAB
Licensed Customer
Posts: 168
Joined: Sun Apr 15, 2012 8:25 pm

Thanks Chris,

Looking forward to a resolution on this :)

Baking my lighting in Octane ofr Unity will be a major game changer. Hopefully there are solutions, API access and tutorials coming soon.
ChrisHekman
OctaneRender Team
Posts: 1058
Joined: Wed Jan 18, 2017 3:09 pm

SamuelAB wrote:Thanks Chris,

Looking forward to a resolution on this :)

Baking my lighting in Octane ofr Unity will be a major game changer. Hopefully there are solutions, API access and tutorials coming soon.

It has been put in the planning.
Post Reply

Return to “Octane for Unity”