Forum

Node-Material: How to get Object-Normals in Object-Space instead of View-Space

05 October 2015 14:20 #4229
Hi all together,

It is possible to obtain in a Blend4Web Node-Material the object normals in local- or global- object-space coordinates?

I achieved only object-normals in camera-view-space, so far (Using the Geometry-Normals output directly).

Could you point me in a helping direction? (Perhaps, which Node-Outputs to combine, or in which Demo or Pro .blend file I can take a look?)
@ Emotional3D
05 October 2015 14:59 #4231

Hi all together,
HI!
t is possible to obtain in a Blend4Web Node-Material the object normals in local- or global- object-space coordinates?
For the normals with object and camera-view-space you need to use vector-view node between normal output and next node, for normals with global view just use normal output without vector-view.
Blend4web and that kind of thing.
05 October 2015 15:20 #4232
Oh, it was working from the beginning. The Geometry-Normal is producing, once exported and viewed in Webbrowser, global object normals. I trusted misleadingly the differing Material-Viewport-Shading Preview, which displays a different normal behaviour. Okay, but thank you nevertheless, Mikhail!
@ Emotional3D
 
Please register or log in to leave a reply.