Thu, Jan 23, 2:54 PM CST

Renderosity Forums / Vue



Welcome to the Vue Forum

Forum Moderators: wheatpenny, TheBryster

Vue F.A.Q (Last Updated: 2024 Dec 30 8:14 pm)



Subject: incident light angle


midnight_stories ( ) posted Tue, 11 December 2007 at 5:11 AM · edited Sat, 30 November 2024 at 11:23 AM

Ok does anyone know how to use this node or doesn’t it work? I start off creating incident light angle node I plug that into a filter node I plug that into a 3 color output node then finally into the color input. I have one light in the scene with the material applied to a ball. The 3 color output points straight up and down, not in the direction of the light what’s going on or should I say what step am I missing to get the texture to point towards the light. I can’t find any help for this type of stuff anywhere. Anyone got any ideas?


bruno021 ( ) posted Tue, 11 December 2007 at 6:04 AM

I don't thin this node can work with a 3 colours output. Why? because the result of the node has to be one colour (in your case), meaning that at one particular angle, one colour is seen instead of the other. But how can Vue decide which colour since there are 3? In the 3 colours output, there is no indication as to which colour to choose. Change the output to a gradient, and then it will work.



dburdick ( ) posted Tue, 11 December 2007 at 8:52 AM

The Incident Light Angle will not work when plugged into a node path which connects into the color channel.  The reason for this is the so called circular interpolation problem.  The Vue render engine needs to have at least a base diffuse color as a starting point when doing ray tracing.  All of the light input nodes in the Function Editor can only be plugged into the Specular output channel.  If you are trying to create a diffuse color pattern based on the angle of a light in the scene (e.g. a fresnel effect), you can capture the vector rotation coordinates of the light and then use a Dot Product function against the object normal and then plug tht into a color gradient.  I do this in SkinVue to create the SkinFresnel effect.  The only issue is that you will need to re-input the light coordinates if the light angle changes.


bruno021 ( ) posted Tue, 11 December 2007 at 10:26 AM

Oopss, I misread the problem, I thought this was about the "angle of incidence" input node.



midnight_stories ( ) posted Tue, 11 December 2007 at 3:26 PM

Thanks for the advice at least it heads me in the right direction I've got on to support to see what they come up with. The fresnel  node seems to be the answer I'm looking for. I'm actually try to create a toon shader that's why I wanted the 3 color output shadow, hatching and specula. This one thing Vue falls short on they have all these great nodes and no info on how to use them even Olivier vent is scratching his head.


bruno021 ( ) posted Tue, 11 December 2007 at 5:50 PM

If you want a toon shader, then the solution is a lot simpler. Create a 2 color output and choose your colors. The second colour will be the outline.  Plug this to a "angle of incidence" node ( not an incident light angle node). Insert a filter between nodes. The shape of the filter will define how thick the outline will be. The filter should only use straight lines ( not smooth curves), otherwise, there will be some blending between the 2 colours.



midnight_stories ( ) posted Tue, 11 December 2007 at 8:51 PM

I’m at work at the moment so I’ll try some stuff  when I get home. I may have to plug the incident light angle node in the a maths node like Projection or Origin so the texture output node can read the co-ordinates. But the filter is a good idea for blending. angle of incidence is only good for edging and textures 90 deg towards the camera. When I get the answer I'll post it here


midnight_stories ( ) posted Wed, 12 December 2007 at 6:47 PM

The incident light angle node can only be used within lighting calculations (that is, in the graph, mainly with specular highlights), as it gives different values for each light source. That's why when trying to connect other outputs to that node, Vue normally warns you about the connexion being not pertinent.

Ok this was the reply I got from e-on software. I'm just trying to turn it into english. Thanks for the replies


dburdick ( ) posted Wed, 12 December 2007 at 10:39 PM

Quote - The incident light angle node can only be used within lighting calculations (that is, in the graph, mainly with specular highlights), as it gives different values for each light source. That's why when trying to connect other outputs to that node, Vue normally warns you about the connexion being not pertinent.

Ok this was the reply I got from e-on software. I'm just trying to turn it into english. Thanks for the replies

 

What they mean is that it can only be used as a node connected to the specular output channel so it won't work for creating a toon type gradient plugged into the color channel.


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.