Octane render + Unreal 4

Display your final art here...
Forum rules
Important notice: All artwork submitted on our public gallery forums gallery forums may or may not be used by OTOY for publication on our website gallery.
If you do not want us to publish your art, please mention it in your post clearly. (put a very red small diagonal cross in the top left corner of the image)
Any images already published on the gallery will be removed if the original author asks us to do so.
We recommend placing your credits on the images so you benefit from the exposure too, and use a minimum image width of 1200 pixels, and pathtracing or PMC. Thanks for your attention, The OctaneRender Team.


For new users: this forum is moderated. Your first post will appear only after it has been reviewed by a moderator, so it will not show up immediately.

This is necessary to avoid this forum being flooded by spam.
ZombieDisco
OctaneRender Team
Posts: 23
Joined: Mon Jul 20, 2015 9:26 pm

Niiiice!
I have question for Octane developers is it possible to render in one pass only shadows and lights with transparent background?
So when I import to Unreal I could mix baked shadows+light with regular texture, because for floor or carpet that you saw in video I needed to bake floor,carpet twice, but maybe with shadows+lights transparent pass I could render only once and mix them in UE4 with any regular texture. :D
This is how the in-development plugin for UE works. If you want to try separating out the lighting pass manually:

1. Go to render passes and check "Raw", "Diffuse" and "Diffuse filter"
2. Bake the Diffuse pass and save it as "lighting.png"
3. In UE, set your material to be 'Unlit" and use an Add node to combine your original diffuse texture and the lighting image from above. Connect the diffuse to "base colour" and the combined passes to "emissive".

You can actually set the material to Default Lit if you like and mix it in with dynamic UE lights, but delete any directional lights from the scene as they don't work too well with it.

The plugin will automate this process.

Also, try to make sure your UE materials are power-of-two or it won't generate any mipmaps. The maximum texture size that it'll actually use is 4096x4096.
mark0spasic
Licensed Customer
Posts: 146
Joined: Thu Mar 08, 2012 4:46 pm

justin-cook wrote:Niiiice!
I have question for Octane developers is it possible to render in one pass only shadows and lights with transparent background?
So when I import to Unreal I could mix baked shadows+light with regular texture, because for floor or carpet that you saw in video I needed to bake floor,carpet twice, but maybe with shadows+lights transparent pass I could render only once and mix them in UE4 with any regular texture. :D
This is how the in-development plugin for UE works. If you want to try separating out the lighting pass manually:

1. Go to render passes and check "Raw", "Diffuse" and "Diffuse filter"
2. Bake the Diffuse pass and save it as "lighting.png"
3. In UE, set your material to be 'Unlit" and use an Add node to combine your original diffuse texture and the lighting image from above. Connect the diffuse to "base colour" and the combined passes to "emissive".

You can actually set the material to Default Lit if you like and mix it in with dynamic UE lights, but delete any directional lights from the scene as they don't work too well with it.

The plugin will automate this process.

Also, try to make sure your UE materials are power-of-two or it won't generate any mipmaps. The maximum texture size that it'll actually use is 4096x4096.
Thank you justin-cook,
In 3dsmax we don`t have RAW pass this is probably Beauty pass? Also I should also apply Alpha channel in kernel settings?
Could you post example of simple scene, lets say box and one light with added material and rendered passes "Raw", "Diffuse" and "Diffuse filter"

and also screen shot from UE4 so I could see how you made material.
Also when can we play with some Octane alpha for UE4 plugin? :P
Thank you in advance. :D
AMD FX 6300, 24 GB RAM, Gigabyte ga-990fxa-ud5, 2x MSI GTX 780 3GB
User avatar
mojave
OctaneRender Team
Posts: 1337
Joined: Sun Feb 08, 2015 10:35 pm

mark0spasic wrote: In 3dsmax we don`t have RAW pass this is probably Beauty pass? Also I should also apply Alpha channel in kernel settings?
Could you post example of simple scene, lets say box and one light with added material and rendered passes "Raw", "Diffuse" and "Diffuse filter"

and also screen shot from UE4 so I could see how you made material.
Also when can we play with some Octane alpha for UE4 plugin? :P
Thank you in advance. :D
@mark0spasic

RAW is not a pass but an option that allows to capture the colour of the first surface hit by a ray. You can read more about it here.

In the 3ds Max plugin this can be enabled enabling the Raw flag in Rendering > Render Setup > Kernel > Kernel Type > Beauty passes setup.

Adding alpha into your baked maps is probably something you want to do, as way of example if you are mapping textures with alpha to your mesh. Think of a wall with a window which glass has various degrees of transparency. In this case the output map will respect that exporting it in the output alpha.

I hope that helps.
mark0spasic
Licensed Customer
Posts: 146
Joined: Thu Mar 08, 2012 4:46 pm

mojave wrote:
mark0spasic wrote: In 3dsmax we don`t have RAW pass this is probably Beauty pass? Also I should also apply Alpha channel in kernel settings?
Could you post example of simple scene, lets say box and one light with added material and rendered passes "Raw", "Diffuse" and "Diffuse filter"

and also screen shot from UE4 so I could see how you made material.
Also when can we play with some Octane alpha for UE4 plugin? :P
Thank you in advance. :D
@mark0spasic

RAW is not a pass but an option that allows to capture the colour of the first surface hit by a ray. You can read more about it here.

In the 3ds Max plugin this can be enabled enabling the Raw flag in Rendering > Render Setup > Kernel > Kernel Type > Beauty passes setup.

Adding alpha into your baked maps is probably something you want to do, as way of example if you are mapping textures with alpha to your mesh. Think of a wall with a window which glass has various degrees of transparency. In this case the output map will respect that exporting it in the output alpha.

I hope that helps.
Thank you mojave I see now I needed to tick Raw in option to be able to see the difference in Diffuse beauty pass,
Still it would be good to see some of your examples of rendered maps and also material setup in UE4. ;)
AMD FX 6300, 24 GB RAM, Gigabyte ga-990fxa-ud5, 2x MSI GTX 780 3GB
ZombieDisco
OctaneRender Team
Posts: 23
Joined: Mon Jul 20, 2015 9:26 pm

Try configuring your material like this: http://imgur.com/a/Ga8sC

If you've already unwrapped your UVs (which you probably have) then you should use the first channel for your lighting UVs, but it's a good option to separate out your lighting UVs and your texture UVs so you can do repeating diffuse textures.
Post Reply

Return to “M is for Metaverse Gallery”