How can i render fog with octane in unreal

Forums: How can i render fog with octane in unreal
Unreal® Engine Integrated Plugin

Moderator: ChrisHekman

How can i render fog with octane in unreal

Postby twobee13 » Sat Aug 10, 2019 5:47 am

twobee13 Sat Aug 10, 2019 5:47 am
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:
twobee13
 
Posts: 7
Joined: Fri Aug 09, 2019 5:14 pm

Re: How can i render fog with octane in unreal

Postby ChrisHekman » Wed Aug 14, 2019 3:23 pm

ChrisHekman Wed Aug 14, 2019 3:23 pm
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.
ChrisHekman
OctaneRender Team
OctaneRender Team
 
Posts: 509
Joined: Wed Jan 18, 2017 3:09 pm

Re: How can i render fog with octane in unreal

Postby twobee13 » Sun Aug 18, 2019 4:16 pm

twobee13 Sun Aug 18, 2019 4:16 pm
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.
Attachments
FK043O6W8A{DCS$Y)O}IMXD.png
Last edited by twobee13 on Tue Aug 20, 2019 7:36 am, edited 4 times in total.
twobee13
 
Posts: 7
Joined: Fri Aug 09, 2019 5:14 pm

Re: How can i render fog with octane in unreal

Postby twobee13 » Sun Aug 18, 2019 4:19 pm

twobee13 Sun Aug 18, 2019 4:19 pm
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.
twobee13
 
Posts: 7
Joined: Fri Aug 09, 2019 5:14 pm

Re: How can i render fog with octane in unreal

Postby twobee13 » Mon Aug 19, 2019 4:24 pm

twobee13 Mon Aug 19, 2019 4:24 pm
I giive the medium material to the cube, but it still show as a diffuse material.
Attachments
FK043O6W8A{DCS$Y)O}IMXD.png
twobee13
 
Posts: 7
Joined: Fri Aug 09, 2019 5:14 pm

Re: How can i render fog with octane in unreal

Postby ChrisHekman » Tue Aug 20, 2019 9:06 am

ChrisHekman Tue Aug 20, 2019 9:06 am
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.
ChrisHekman
OctaneRender Team
OctaneRender Team
 
Posts: 509
Joined: Wed Jan 18, 2017 3:09 pm

Re: How can i render fog with octane in unreal

Postby twobee13 » Tue Aug 20, 2019 4:34 pm

twobee13 Tue Aug 20, 2019 4:34 pm
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:
Attachments
QQ截图20190821002521.png
twobee13
 
Posts: 7
Joined: Fri Aug 09, 2019 5:14 pm

Re: How can i render fog with octane in unreal

Postby ChrisHekman » Wed Aug 21, 2019 8:37 am

ChrisHekman Wed Aug 21, 2019 8:37 am
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
ChrisHekman
OctaneRender Team
OctaneRender Team
 
Posts: 509
Joined: Wed Jan 18, 2017 3:09 pm

Re: How can i render fog with octane in unreal

Postby twobee13 » Thu Aug 22, 2019 2:03 am

twobee13 Thu Aug 22, 2019 2:03 am
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.
twobee13
 
Posts: 7
Joined: Fri Aug 09, 2019 5:14 pm

Return to Unreal® Engine


Who is online

Users browsing this forum: No registered users and 0 guests

Sat Apr 04, 2020 9:01 am [ UTC ]