Page 1 of 1

How can i render fog with octane in unreal

PostPosted: Sat Aug 10, 2019 5:47 am
by twobee13
I am so excited that i can render with octane in unreal. but i found octane cant render atmospheric fog or height fog .
is there any solution to render fog with octane? Not using vdb fog. :shock:

Re: How can i render fog with octane in unreal

PostPosted: Wed Aug 14, 2019 3:23 pm
by ChrisHekman
There are two ways atm

- Place a model (cube for example) in the scene.
- Create an octane material by rightclicking in the content browser and going to the octane tab
- Place the new octane material on the model
- Open the new octane material and create a universal material
- Attach the universal material to material out node.
- Create a volume or scattering medium node and attach it to the universal material
- Adjust the volume settings however you want. (The density is usually to high, and its often good to add a scattering color)

The model should now have fog inside of it. (The camera has to be outside of the model for this method to work)

The other way is to add a medium node to the rendertarget environment.

Re: How can i render fog with octane in unreal

PostPosted: Sun Aug 18, 2019 4:16 pm
by twobee13
ChrisHekman wrote:There are two ways atm

- Place a model (cube for example) in the scene.
- Create an octane material by rightclicking in the content browser and going to the octane tab
- Place the new octane material on the model
- Open the new octane material and create a universal material
- Attach the universal material to material out node.
- Create a volume or scattering medium node and attach it to the universal material
- Adjust the volume settings however you want. (The density is usually to high, and its often good to add a scattering color)

The model should now have fog inside of it. (The camera has to be outside of the model for this method to work)

The other way is to add a medium node to the rendertarget environment.



I giive the medium material to the cube, but it still show as a diffuse material.

Re: How can i render fog with octane in unreal

PostPosted: Sun Aug 18, 2019 4:19 pm
by twobee13
ChrisHekman wrote:There are two ways atm

- Place a model (cube for example) in the scene.
- Create an octane material by rightclicking in the content browser and going to the octane tab
- Place the new octane material on the model
- Open the new octane material and create a universal material
- Attach the universal material to material out node.
- Create a volume or scattering medium node and attach it to the universal material
- Adjust the volume settings however you want. (The density is usually to high, and its often good to add a scattering color)

The model should now have fog inside of it. (The camera has to be outside of the model for this method to work)




The other way is to add a medium node to the rendertarget environment.



Thank you so much,and your explain for making a volume material is so clear .But it doesn't work after i follow your way. the material still show as a diffuse material.

Re: How can i render fog with octane in unreal

PostPosted: Mon Aug 19, 2019 4:24 pm
by twobee13
I giive the medium material to the cube, but it still show as a diffuse material.

Re: How can i render fog with octane in unreal

PostPosted: Tue Aug 20, 2019 9:06 am
by ChrisHekman
Sorry there are some extra steps.
- Reduce the Dielectic IOR to 1 (Same are air)
- Albedo and metal to 0
- Transmission to 1

Or use a specualar material with an Index of refraction of 1 and a medium node.

Re: How can i render fog with octane in unreal

PostPosted: Tue Aug 20, 2019 4:34 pm
by twobee13
ChrisHekman wrote:Sorry there are some extra steps.
- Reduce the Dielectic IOR to 1 (Same are air)
- Albedo and metal to 0
- Transmission to 1

Or use a specualar material with an Index of refraction of 1 and a medium node.


Thanks a lot. But there is still question.
I reduce the Dielectic IOR and metal´╝î but there is no option to reduce color and Transmission to 1, i just can choose the node of them.

But i made the fog with specualar material successful. :lol:

Re: How can i render fog with octane in unreal

PostPosted: Wed Aug 21, 2019 8:37 am
by ChrisHekman
Good to hear.

For in the future, you can change the transmission node by attaching an Grayscale or RGB Color node to it.

I have also included an image that shows where to click to change the transmission and the albedo.
The transmission can be changed by clicking the dropdown menu button the green arrow is pointing at. Select the RGB Color node. Now you should have a white transmission.
The albedo color can be changed by clicking the white color bar the orange arrow is pointing at. You should get a color wheel popup that allows you to select the color.
HowToNode.png

Re: How can i render fog with octane in unreal

PostPosted: Thu Aug 22, 2019 2:03 am
by twobee13
ChrisHekman wrote:Good to hear.

For in the future, you can change the transmission node by attaching an Grayscale or RGB Color node to it.

I have also included an image that shows where to click to change the transmission and the albedo.
The transmission can be changed by clicking the dropdown menu button the green arrow is pointing at. Select the RGB Color node. Now you should have a white transmission.
The albedo color can be changed by clicking the white color bar the orange arrow is pointing at. You should get a color wheel popup that allows you to select the color.
HowToNode.png


Thanks a lot. But it still doesnt show correctly ,maybe i didnt reduce the "air" to 1. I dont know what the "air" option means .
And i really want to know if there is possible that octane can render fog like atmosphere or expotional fog in future.