View Full Version : NormalMapBump: node for normal mapping

09 September 2005, 08:50 AM

It helps to implement normal mapping via shading connection.

Plug-in and example setup (
to give it a go.

It needs the tangentMapper plug-in can be found here (

Keep an eye on (
for more.

09 September 2005, 03:21 PM
Looks Great! (I haven't tried it yet).

One crit: It shouldn't be necessary to connect the camera's worldInverseMatrix - the node should be able to get that at rendertime. I'm definitely no coder, but Olivier Renouard's spaceChange plugin can convert a tangent space normal map to camera space normals without connecting any camera attribute into the network. If you want, you can take a look at his source code to see how he's solved it.

Your node looks like it's a bit easier to use though, but I'll stick with the spaceChange node for now.

Good job!

09 September 2005, 03:09 PM
Pitty the spaceChange source link on the following page appears to be down for now:

Seems it needs a samplerInfo node to provide normal and tangent vectors already in cameraspace, means no need to transform them any more. That is why you needn't connect a camera matrix to it.

My solution is based on per-vertex primitive variable: using the tangent mapper ( to compute tangent and normal in world/object space at each vertex. So that needs to transform to camera space when rendering. I found it produces more soft effects, and easier to setup.

10 October 2005, 04:39 AM
Detialed notes is online:

CGTalk Moderation
10 October 2005, 04:39 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.