ISL-question: color shader depending on normal angle to cam?

General discussion about Indigo Materials - material requests, material developement, feedback, etc..
Post Reply
6 posts • Page 1 of 1
User avatar
zeitmeister
2nd Place 100
Posts: 2010
Joined: Tue Apr 22, 2008 4:11 am
Location: Limburg/Lahn, Germany
Contact:

ISL-question: color shader depending on normal angle to cam?

Post by zeitmeister » Wed Nov 23, 2016 10:31 pm

Hey there,
is there a way to access the polygon normal angle to the camera?
My aim is a material which blends steep-angled polygons invisible to the camera.
Thank you in advance!
Cheers, David



DAVIDGUDELIUS // 3D.PORTFOLIO
·
Indigo 4.4.15 | Indigo for C4D 4.4.13.1 | C4D R23 | Mac OS X 10.13.6 | Windows 10 Professional x64

User avatar
Originalplan®
Posts: 757
Joined: Sat Sep 26, 2015 8:58 pm
3D Software: Cinema 4D
Contact:

Re: ISL-question: color shader depending on normal angle to

Post by Originalplan® » Thu Nov 24, 2016 12:22 am

I think you can set something like this up in Xpresso.
Combine the Indigo Cam tag and Indigo Comp tag with a Boole and a rangemapper.
Plus some custom inputs on cam.

Or set up something similar via Python in c4d.
Kinda the 2 most viable options i think.

User avatar
Oscar J
1st Place Winner
Posts: 2204
Joined: Sat Mar 31, 2012 3:47 am
Location: Gothenburg, Sweden
3D Software: Blender

Re: ISL-question: color shader depending on normal angle to

Post by Oscar J » Thu Nov 24, 2016 12:28 am

http://www.indigorenderer.com/materials/materials/1104

Doesn't this one use "camera normals"?

User avatar
zeitmeister
2nd Place 100
Posts: 2010
Joined: Tue Apr 22, 2008 4:11 am
Location: Limburg/Lahn, Germany
Contact:

Re: ISL-question: color shader depending on normal angle to

Post by zeitmeister » Thu Nov 24, 2016 3:33 am

Oscar J wrote:http://www.indigorenderer.com/materials/materials/1104

Doesn't this one use "camera normals"?
Hehe, tried this one but without success...
But it's possible; I think about the invidible to camera option.
Only as a ramp...


Gesendet von iPhone mit Tapatalk
Cheers, David



DAVIDGUDELIUS // 3D.PORTFOLIO
·
Indigo 4.4.15 | Indigo for C4D 4.4.13.1 | C4D R23 | Mac OS X 10.13.6 | Windows 10 Professional x64

User avatar
zeitmeister
2nd Place 100
Posts: 2010
Joined: Tue Apr 22, 2008 4:11 am
Location: Limburg/Lahn, Germany
Contact:

Re: ISL-question: color shader depending on normal angle to

Post by zeitmeister » Thu Nov 24, 2016 3:34 am

Originalplan[REGISTERED SIGN] wrote:I think you can set something like this up in Xpresso.
Combine the Indigo Cam tag and Indigo Comp tag with a Boole and a rangemapper.
Plus some custom inputs on cam.

Or set up something similar via Python in c4d.
Kinda the 2 most viable options i think.
Good hint! Gonna try something... thanks!
But I would prefer a clean ISL solution of course. :-)


Gesendet von iPhone mit Tapatalk
Cheers, David



DAVIDGUDELIUS // 3D.PORTFOLIO
·
Indigo 4.4.15 | Indigo for C4D 4.4.13.1 | C4D R23 | Mac OS X 10.13.6 | Windows 10 Professional x64

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Re: ISL-question: color shader depending on normal angle to

Post by CTZn » Sun Jan 01, 2017 1:54 am

zeitmeister wrote:
Oscar J wrote:http://www.indigorenderer.com/materials/materials/1104

Doesn't this one use "camera normals"?
Hehe, tried this one but without success...
But it's possible; I think about the invidible to camera option.
Only as a ramp...


Gesendet von iPhone mit Tapatalk
if you snap the code into your own shader, you need to create two color parameters named C1 & C2 respectively.
obsolete asset

Post Reply
6 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 7 guests