loading custom shader in Octane

Forums: loading custom shader in Octane
A public forum for discussing and asking questions about the Octane for Unity Alpha

Moderator: ChrisHekman

loading custom shader in Octane

Postby Zhhao0615 » Wed May 08, 2019 2:05 am

Zhhao0615 Wed May 08, 2019 2:05 am
I am trying to write my custom shader within octane rendering.And i have known that some posts said octane only accept "standard" or "specular (setup)" of bulit-in unity shader. So i try to modified built-in shader code(eg: .cginc file, .shader file),i found that it is successfully reset in unity but not work in octane viewport, i wonder if octane doesn't use any unity bulit-in shader code and just according to their shader parameters to load octane yourselves shader code hid? could you tell me where the shader code used by octane viewport ?
Zhhao0615
 
Posts: 2
Joined: Wed May 08, 2019 1:40 am

Re: loading custom shader in Octane

Postby ChrisHekman » Wed May 08, 2019 11:57 am

ChrisHekman Wed May 08, 2019 11:57 am
OctaneForUnity does not use unity shader code for technical reasons. We have our own shaders that perform like unity.

OctaneForUnity does allow you to create your own custom octane materials
Create a new octane override material using this guide: https://www.youtube.com/watch?v=fCBi3Fb ... VS&index=3
Create an OSL Texture node. Press the button with the pen icon at the top right corner.
A new window will pop up that allows you to write texture shading code.
ChrisHekman
OctaneRender Team
OctaneRender Team
 
Posts: 968
Joined: Wed Jan 18, 2017 3:09 pm

Re: loading custom shader in Octane

Postby Zhhao0615 » Thu May 09, 2019 1:46 am

Zhhao0615 Thu May 09, 2019 1:46 am
ChrisHekman wrote:OctaneForUnity does not use unity shader code for technical reasons. We have our own shaders that perform like unity.

OctaneForUnity does allow you to create your own custom octane materials
Create a new octane override material using this guide: https://www.youtube.com/watch?v=fCBi3Fb ... VS&index=3
Create an OSL Texture node. Press the button with the pen icon at the top right corner.
A new window will pop up that allows you to write texture shading code.


i will understand your purpose for setting this limitation,but not good news for software developers who interested in Octane rendering. you know ,software developers using unity3d are more than graphics designers,not like 3dmax ,c4d,maya .So i hope your team really consider about this problem .
Zhhao0615
 
Posts: 2
Joined: Wed May 08, 2019 1:40 am

Re: loading custom shader in Octane

Postby ChrisHekman » Fri May 10, 2019 1:53 pm

ChrisHekman Fri May 10, 2019 1:53 pm
It is not a limitation we set by choice, but a fundamental problem in bridging the gap between a rasteriser like Unity and a pathtracer like Octane.
Which is why we made support for the default unity shaders, and allow users to create their own Octane Shaders when they want additional graphical effects.
ChrisHekman
OctaneRender Team
OctaneRender Team
 
Posts: 968
Joined: Wed Jan 18, 2017 3:09 pm

Return to Octane for Unity


Who is online

Users browsing this forum: No registered users and 3 guests

Tue Apr 16, 2024 1:25 pm [ UTC ]