Thanks to Albert Omoss for this:
#include <octane-oslintrin.h>
shader Texture(
color col1 = color(0.5, 0.5, 0.5),
output color c = 0)
{
color col2 = _evaluateDelayed(col1, u, v);
c = color(col2[0], 1.0 - col2[1], col2[2]);
}
works perfectly.
Search found 24 matches
- Fri Sep 21, 2018 8:57 pm
- Forum: Maxon Cinema 4D
- Topic: How do I flip Y in my DirectX normal map in Octane?
- Replies: 5
- Views: 5299
- Fri Sep 21, 2018 7:06 pm
- Forum: Maxon Cinema 4D
- Topic: How do I flip Y in my DirectX normal map in Octane?
- Replies: 5
- Views: 5299
Re: How do I flip Y in my DirectX normal map in Octane?
Does anyone have any OSL coding experience? I'd happily pay for an OSL shader that allows me to invert the Green channel of a texture. Though this functionality should be built into Octane. Seeing how everyone else has this function (including Physical).
- Fri Sep 21, 2018 5:46 pm
- Forum: Maxon Cinema 4D
- Topic: How do I flip Y in my DirectX normal map in Octane?
- Replies: 5
- Views: 5299
How do I flip Y in my DirectX normal map in Octane?
I have a bunch of OpenGL based normal maps that I need to flip the green (Y) channel on in Octane. Anyone know a trick or perhaps has an OSL shader that does this?
Thanks in advance!
Chad
Thanks in advance!
Chad
- Sun May 20, 2018 2:33 pm
- Forum: Development Build Releases
- Topic: Hello World: OctaneRender 4 is here
- Replies: 293
- Views: 218348
Re: Hello World: OctaneRender 4 is here
I apologize if this has been covered in a previous post, but I'd like to learn more about the ai denoising settings. Is there any documentation covering all of its settings in Cinema 4D? Thanks!
- Mon Oct 03, 2016 2:06 pm
- Forum: Maxon Cinema 4D
- Topic: Maintaining Spec Energy on Mix Materials
- Replies: 3
- Views: 2118
Re: Maintaining Spec Energy on Mix Materials
I really hope someone can shed light on this. I'm trying to create physically plausible materials in Octane and not knowing how spec energy works with mix materials is making that difficult.
- Sun Oct 02, 2016 8:23 pm
- Forum: Maxon Cinema 4D
- Topic: Maintaining Spec Energy on Mix Materials
- Replies: 3
- Views: 2118
Maintaining Spec Energy on Mix Materials
I have a question about something I have not been able to figure out about Octane Mix materials. When I'm mixing SSS medium shaders that have no spec and glossy shaders that do have specular, how do I maintain the specular energy of my glossy material?
By mixing the two materials, the specular is ...
By mixing the two materials, the specular is ...
- Fri Aug 12, 2016 4:03 pm
- Forum: Maxon Cinema 4D
- Topic: Octane 3 and R18
- Replies: 4
- Views: 2083
Octane 3 and R18
Will the latest Octane 3 installer work in R18?
Thank You,
Chad Ashley
Thank You,
Chad Ashley
- Thu Jun 09, 2016 1:56 pm
- Forum: Maxon Cinema 4D
- Topic: Lack of useful nodes...
- Replies: 11
- Views: 5466
Re: Lack of useful nodes...
Cool, thanks so much!
- Wed Jun 08, 2016 6:16 pm
- Forum: Maxon Cinema 4D
- Topic: Lack of useful nodes...
- Replies: 11
- Views: 5466
Re: Lack of useful nodes...
Cool approach Calus, I'll try that tonight! Thanks!
- Wed Jun 08, 2016 2:00 pm
- Forum: Maxon Cinema 4D
- Topic: Color Correction / Random Color Node Idea
- Replies: 1
- Views: 972
Color Correction / Random Color Node Idea
Here are a couple of ideas for the Random Color node:
- Inputs on the color correction node for all settings to allow the randomization of everything, not just brightness
- A switch node where the random color can be turned into an integer that would pull textures from a switch node (bunch of ...
- Inputs on the color correction node for all settings to allow the randomization of everything, not just brightness
- A switch node where the random color can be turned into an integer that would pull textures from a switch node (bunch of ...