Support for light cookies

Forums: Support for light cookies
A public forum for discussing and asking questions about the Octane for Unity Alpha

Moderator: ChrisHekman

Support for light cookies

Postby tombube » Wed Sep 09, 2020 1:28 pm

tombube Wed Sep 09, 2020 1:28 pm
Hi, I'm trying to use a distribution texture on a Light override component (similarly to an Unity Spotlight Cookie),
but it seems that the texture gets mapped incorrectly :/

The manual shows this:

Distribution - Controls the pattern of the light. You can set this to RGB, Greyscale, Texture, or an IES light profile. The image texture’s Projection nodes then adjust the orientation or direction of the light.


But when the texture gets set through the Light Override component, there is no way to change the image's Projection node from Unity directly, is by default incorrectly set to Mesh UV (which doesn't make sense for cookies)... Is there any support for regular Unity cookies or does anyone have experience with emulating them?
tombube
 
Posts: 9
Joined: Thu Sep 05, 2019 1:51 pm

Re: Support for light cookies

Postby tombube » Mon Nov 30, 2020 10:29 am

tombube Mon Nov 30, 2020 10:29 am
Is there any info on this?

We're currently researching an option to go around this issue and fixthe incorrectly set projection node using a Lua script. The issue with this solution is that there's no way to trigger lua scripts from inside unity via scripting, so we have to record the scene to orbx, then modify the scene using Lua scripting with OctaneRender Standalone and then finally render it, which is highly inefficient.
tombube
 
Posts: 9
Joined: Thu Sep 05, 2019 1:51 pm

Return to Octane for Unity


Who is online

Users browsing this forum: No registered users and 2 guests

Mon Mar 01, 2021 1:41 pm [ UTC ]