Image mapping using Shader Node


(Gerald) #1

Hi,

Will like to ask, is this possible to apply image mapping using Shader Node like the way Mix node is used to apply image map on a surface in Blender?

Thanks in advanced.


(Nathan 'jesterKing' Letwory) #2

You already should be able to do that with the Grasshopper plug-in GhShaderNodes.

Download the GH file I use to set up the Rhino material conversion from

https://github.com/mcneel/RhinoCycles/blob/rhino-6.x/conversion/rhino_full_shader.gh

Load it in Grasshopper and let Grasshopper download and install the GhShaderNodes package. Once done restart Rhino and Grasshopper and you should be able to create your own shader graphs.


(Gerald) #3

Hi Nathan,

Thanks so much for the GH file. Wow… that’s quite a lot of nodes.

I will study it for a better understanding.

Thanks and regards


(Gerald) #4

Hi Nathan,

The texture coordinate node is same as blender’s. However, Rhino’s Texture Mapping system is quite different.

I will like to apply a Planar Mapping (Rhino) of an image map onto an object. May I know is there an equivalent of this in the GHshadenode plugin? I thought its closest match should be ‘Generated’ option on the texture coordinate node, but it is not giving the correct result.

Thanks.


(Nathan 'jesterKing' Letwory) #5

Planar mapping in Rhino creates UV coordinates. So in Rhino you apply a UV mapping to your object, then from the TextureCoordinate node you connect from the UV output.


(Gerald) #6

Hi Nathan,

Thanks so much for the reply. I managed to get the decal to be positioned correctly using your suggestion. :slight_smile:

However, I have a problem with the transparency/alpha of the PNG images not working. I have already connected the Image node’s alpha to the Fac input of the Blend (closure) node.

May I know what did i do wrong. Thanks so much again.


(Gerald) #7

Hi Nathan,

The transparency is working now… i was working with a corrupted PNG.

Thanks


(Nathan 'jesterKing' Letwory) #8

I assume you are having fun with the nodes :slight_smile:


(Gerald) #9

Awesome stuffs. Glad that it works similarly to Blender cycles node.

Here’s the video capture … https://youtu.be/5UapZRgRtmo

Thanks so much … i learnt alot from your Youtube Channel.


(Nathan 'jesterKing' Letwory) #10

Nice :slight_smile: