MATCAP textures in Octane, ORBX demo scene.

Post, discuss and share handy resources like textures, models and HDRI maps in this forum.
Forum rules
Please do not post any material that is copyrighted or restricted from public use in any way. OTOY NZ LTD and it's forum members are not liable for any copyright infringements on material in this forum. Please contact us if this is the case and we will remove the material in question.
Post Reply
calus
Licensed Customer
Posts: 1308
Joined: Sat May 22, 2010 9:31 am
Location: Paris

simple OSL projection node for matcap textures used in toon material.

Code: Select all

shader matcapProjection(
    output point uvw = 0)
{
	uvw = transform ("camera", N) *0.5 + 0.5;
}
Matcap_demo.orbx
(4.38 MiB) Downloaded 567 times
octane_2018-12-23_11-50-32.png
Pascal ANDRE
User avatar
smicha
Licensed Customer
Posts: 3151
Joined: Wed Sep 21, 2011 4:13 pm
Location: Warsaw, Poland

Great work. Thank you.
3090, Titan, Quadro, Xeon Scalable Supermicro, 768GB RAM; Sketchup Pro, Classical Architecture.
Custom alloy powder coated laser cut cases, Autodesk metal-sheet 3D modelling.
build-log http://render.otoy.com/forum/viewtopic.php?f=9&t=42540
User avatar
Kalua
Licensed Customer
Posts: 531
Joined: Fri Oct 11, 2013 2:13 am
Location: Caribbean Sea
Contact:

Thanks!
Was looking for this OSL to make matcap to work with Octane!
Nice shaders too!
C4D 2025.1.1 Octane 2025.2.1 v1.5.1, <<2 X 3090 + NVlink>>, Windows 10, X399, AMD TR 1950X, 128 GB RAM, NVIDIA SD 552.22
https://www.behance.net/PaperArchitect
User avatar
bepeg4d
Octane Guru
Posts: 10342
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Hi Kalua,
Matcap projection is already available from a long time, no need to use an OSL projection node anymore:
IMG_9292.jpeg
ciao,
Beppe
Post Reply

Return to “Resources and Sharing”