Page 1 of 1

ISL-Normals question

Posted: Mon Nov 14, 2011 5:22 am
by neepneep
Is it possible to use ISL to colour faces depending on their normal?

If so, how ? :mrgreen:

Re: ISL-Normals question

Posted: Mon Nov 14, 2011 6:20 am
by OnoSendai
normalWS() returns the shading normal in world space :)

Re: ISL-Normals question

Posted: Mon Nov 14, 2011 8:14 am
by CTZn
in other words you can blend materials depending on the shading normal relative to a world direction, not relative to the geometric normal itself.

Still that may be usefull for leaves, a field left to explore. Being able to determinate wether the shaded point is on the positive or negative side of the normal is an active request !

Re: ISL-Normals question

Posted: Mon Nov 14, 2011 12:04 pm
by neepneep
That worked - well sort of - I just found I needed the render to be flat shaded as well showing just the different coloured normals. Instead I ended up breaking up the mesh manually according to the normals, assigned each one a new material and then used the 'material id' render mode in Blendigo. Worked perfect and mega fast! Can't show it though unfortunately :( :lol: