Skip to main content
Tweeted twitter.com/#!/StackBlender/status/401425082725449728
inlined images
Source Link
stacker
  • 38.9k
  • 31
  • 144
  • 245

I'm relatively new to Cycles, so maybe I don't understand all its finer points yet. I am trying to create a normal map from a grayscale bump map produced by an OSL script. The script seems to output the grayscale data just fine, as seen here (output through an emission shader for visibility purposes):

http://i889.photobucket.com/albums/ac94/smashuu/ScreenShot2013-11-15at110710AM_zps9c27c76e.pngenter image description here

But when I try putting that through the bump node, I get nada in the resulting normal output:

http://i889.photobucket.com/albums/ac94/smashuu/ScreenShot2013-11-15at112148AM_zps5f08218d.pngenter image description here

Just to be sure I'm doing something stupid, I tried the same node setup but with a noise texture node instead of the script's output for the bump node's "height" input, and got the expected results.

I haven't been able to find much info about the bump node, but is there a reason it can't use the grayscale data from an OSL script for the height info? If so, is there any way to work around that?

I'm relatively new to Cycles, so maybe I don't understand all its finer points yet. I am trying to create a normal map from a grayscale bump map produced by an OSL script. The script seems to output the grayscale data just fine, as seen here (output through an emission shader for visibility purposes):

http://i889.photobucket.com/albums/ac94/smashuu/ScreenShot2013-11-15at110710AM_zps9c27c76e.png

But when I try putting that through the bump node, I get nada in the resulting normal output:

http://i889.photobucket.com/albums/ac94/smashuu/ScreenShot2013-11-15at112148AM_zps5f08218d.png

Just to be sure I'm doing something stupid, I tried the same node setup but with a noise texture node instead of the script's output for the bump node's "height" input, and got the expected results.

I haven't been able to find much info about the bump node, but is there a reason it can't use the grayscale data from an OSL script for the height info? If so, is there any way to work around that?

I'm relatively new to Cycles, so maybe I don't understand all its finer points yet. I am trying to create a normal map from a grayscale bump map produced by an OSL script. The script seems to output the grayscale data just fine, as seen here (output through an emission shader for visibility purposes):

enter image description here

But when I try putting that through the bump node, I get nada in the resulting normal output:

enter image description here

Just to be sure I'm doing something stupid, I tried the same node setup but with a noise texture node instead of the script's output for the bump node's "height" input, and got the expected results.

I haven't been able to find much info about the bump node, but is there a reason it can't use the grayscale data from an OSL script for the height info? If so, is there any way to work around that?

Source Link
smashuu
  • 398
  • 1
  • 10

Bump node in Cycles, with an OSL script -- am I doing it wrong?

I'm relatively new to Cycles, so maybe I don't understand all its finer points yet. I am trying to create a normal map from a grayscale bump map produced by an OSL script. The script seems to output the grayscale data just fine, as seen here (output through an emission shader for visibility purposes):

http://i889.photobucket.com/albums/ac94/smashuu/ScreenShot2013-11-15at110710AM_zps9c27c76e.png

But when I try putting that through the bump node, I get nada in the resulting normal output:

http://i889.photobucket.com/albums/ac94/smashuu/ScreenShot2013-11-15at112148AM_zps5f08218d.png

Just to be sure I'm doing something stupid, I tried the same node setup but with a noise texture node instead of the script's output for the bump node's "height" input, and got the expected results.

I haven't been able to find much info about the bump node, but is there a reason it can't use the grayscale data from an OSL script for the height info? If so, is there any way to work around that?