PBR Unity Light Component

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

Moderator: ChrisHekman

Post Reply
mathaig
Posts: 21
Joined: Fri Jun 14, 2019 11:06 am

Hi,
It seems that the spot light range does not behave the same way as in Unity. I have read from another thread "Unity lights" that i can use the PBR Unity Light Component to tweak the lights.

Regards
ChrisHekman
OctaneRender Team
Posts: 1061
Joined: Wed Jan 18, 2017 3:09 pm

Yes unity lights do not follow the inverse square law, which means that octane cannot 100% replicate them.

You an use PBR Light Components by simply adding the component to the parent game object of an existing light component. It should automatically override the light settings.
mathaig
Posts: 21
Joined: Fri Jun 14, 2019 11:06 am

It seems that PBR Unity Light Component is not exposed. I tried via the inspector and also via script. Using Octane 2018.1.3
mathaig
Posts: 21
Joined: Fri Jun 14, 2019 11:06 am

Yes but PBR Unity Light Component is not expose via the editor no via script. Is there some other script that i shoulkd get ?
ChrisHekman
OctaneRender Team
Posts: 1061
Joined: Wed Jan 18, 2017 3:09 pm

Yes, it seems PBRUnityLightComponents were marked as internal. This has been changed to public and should be accessable in the next build.
mathaig
Posts: 21
Joined: Fri Jun 14, 2019 11:06 am

Oh good, and when is the next release happening ? Would it be the version 4 of the plugin ?
mathaig
Posts: 21
Joined: Fri Jun 14, 2019 11:06 am

So if i were to add the light component, what would happen:
1. unity light follows the inverse square law ?
OR
2. the octane representation of the unity light will be linear ?

regards
ChrisHekman
OctaneRender Team
Posts: 1061
Joined: Wed Jan 18, 2017 3:09 pm

Neither. The light component allows you you to edit and save the octane side of the light. For instance it allows you to turn a spotlight into an IES lights.
Octane is an unbiased renderer, which means that the inverse square law is an emergent property and not directly coded in.
This is an difference between octane and unity that is hard to bridge, as unity does code their light drop-off into the engine.

For the automatic conversion of lights we match the light intensity at 75% of the unity light range.
This means that everyting closer than 75% of the unity light range will be brighter in octane, and everything farther than 75% will be darker in octane.
Post Reply

Return to “Octane for Unity”