Jump to content


Normal Direction to Selection/Vertex map

Recommended Posts

Howdy all,


I've decided (after enough head-smashing-against-the-desk) that I need some help.  I need a selection / vertex map that returns 1 if facing camera and 0 if facing away. Effectively recreating the results of the Normal Direction shader.  I got kind of close using the Shader Field… which seems to work when driven by fresnel… but won't play nice with the Normal Direction shader (see below screenshots and attached project file).


Any help would be much much much appreciated :) 



Here is the Normal Direction shader applied to a tube. backfiring polygons are black:




This has been fed into a Shader Field driving a vertex map, but it isn't affecting the vertex map whatsoever:




Here is the same setup, using Fresnel instead, which is working:



Im hoping Ive missed something dumb (maybe to do with projection?), because the above solution seems like it just should work. But hey, perhaps there's an even simpler way- if you know what's going on, please lend a hand :)




Share this post

Link to post
Share on other sites

Hello, Fandango.


Are you looking for this?




João Marco



Share this post

Link to post
Share on other sites
  • Topic Author
  • Hi João, hope you are well :)


    Um, thats not quite what I need (apologies, I may have confused things by mentioning the fresnel). What I need is this:



    Share this post

    Link to post
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    • Recently Browsing   0 members

      No registered users viewing this page.



    C4D Cafe is the largest CINEMA 4D community. We provide facilities for discussion, showcasing and learning our favorite software :)
    • Create New...