
[OSL scripts] Layer Blending mode and Normalize
Forum rules
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB
Hello everyone, I've made two OSL nodes in Octane before, the first one is a blending node which consists of 14 common modes, and a normalize node consists of one line of code only, hope these can be helpful

- Attachments
-
- osl_scripts.zip
- (1.65 KiB) Downloaded 430 times
Thanks!
Octane For Cinema 4D developer / 3d generalist
3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
Thanks! Good job. 

aiven.net
5960X | 64GB ddr4 | 1x 1080ti + 2x 980ti
6850k | 64GB ddr4 | 4x 980ti hybrid
6850k | 64GB ddr4 | 4x 1080ti
5960X | 64GB ddr4 | 1x 1080ti + 2x 980ti
6850k | 64GB ddr4 | 4x 980ti hybrid
6850k | 64GB ddr4 | 4x 1080ti
I've added a lot of osl scripts but seems like nobody checked.mitchino wrote:would it be possible to create a blur node? I'd love to be able to tweak blur settings on image files I use for displacements etc
Octane For Cinema 4D developer / 3d generalist
3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
I see there is a gaussian blur script - can't get it working though, I've piped an image node with a png image into the gaussian blur node, and connected that to my diffuse channel. Can't seem to get any blurring, but I am getting incredibly slow performance.
You need to attach an "OSL Delayed UV” projection node to the image being blurred.mitchino wrote:I see there is a gaussian blur script - can't get it working though, I've piped an image node with a png image into the gaussian blur node, and connected that to my diffuse channel. Can't seem to get any blurring, but I am getting incredibly slow performance.
Win 10
3.7Ghz i9 10900k / 64GB
ASUS STRIX Z490-E
PSU: PowerSpec 850Wd
RTX 3090 Asus Tuff
Network rendering:
Win 10
4.2Ghz i7 7700k / 64GB
AsRock SuperCarrier
PSU: EVGA 1200w
RTX 3080 Ti EVGA Hybrid
RTX 3080 ASUS Tuff
GTX 1080ti SC Black (wc)
3.7Ghz i9 10900k / 64GB
ASUS STRIX Z490-E
PSU: PowerSpec 850Wd
RTX 3090 Asus Tuff
Network rendering:
Win 10
4.2Ghz i7 7700k / 64GB
AsRock SuperCarrier
PSU: EVGA 1200w
RTX 3080 Ti EVGA Hybrid
RTX 3080 ASUS Tuff
GTX 1080ti SC Black (wc)
Hi all!
Lewis - this is great!
As outlined in the GTC20 roadmap, we are going to bake in all useful osl shaders as native nodes into a forthcoming update. Joan and I are reviewing just about all the osl shaders - including those on liveDB, and shown in the roadmap slides. If there any others missing, please let us know.
The layer/compositing node is one we are paying special attention to right now - we want to get all porter diff operators working on top of the blend modes, and also allow mask texture input on top of layer opacity value.
For color correction, we are going to port the autodesk Uber CC shader (which I believe Lewis tested, as did I) as well as the more minimal CC node from Arnold that is currently a utility node on liveDB.
Lewis - this is great!
As outlined in the GTC20 roadmap, we are going to bake in all useful osl shaders as native nodes into a forthcoming update. Joan and I are reviewing just about all the osl shaders - including those on liveDB, and shown in the roadmap slides. If there any others missing, please let us know.
The layer/compositing node is one we are paying special attention to right now - we want to get all porter diff operators working on top of the blend modes, and also allow mask texture input on top of layer opacity value.
For color correction, we are going to port the autodesk Uber CC shader (which I believe Lewis tested, as did I) as well as the more minimal CC node from Arnold that is currently a utility node on liveDB.
Don't forget the long node list I shared earlier!Goldorak wrote:Hi all!
Lewis - this is great!
As outlined in the GTC20 roadmap, we are going to bake in all useful osl shaders as native nodes into a forthcoming update. Joan and I are reviewing just about all the osl shaders - including those on liveDB, and shown in the roadmap slides. If there any others missing, please let us know.
The layer/compositing node is one we are paying special attention to right now - we want to get all porter diff operators working on top of the blend modes, and also allow mask texture input on top of layer opacity value.
For color correction, we are going to port the autodesk Uber CC shader (which I believe Lewis tested, as did I) as well as the more minimal CC node from Arnold that is currently a utility node on liveDB.