[Bf-cycles] Normal Map black render
Santosh Singh
santoshmca.giit at gmail.com
Wed Mar 27 05:20:07 CET 2019
Hello Team,
I am working cycles standalone code and trying to render with bump effects.
when i am wing the normal_map node, i am getting black render output.
I am using the below xml file data-
<cycles>
<camera width="800" height="500" />
<transform translate="0 2 -6" scale="1 1 1" rotate="20 1 0 0">
<camera type="perspective" />
</transform>
<!-- Background Shader -->
<background>
<background name="bg" strength="2.0" color="0.2, 0.2, 0.2" />
<connect from="bg background" to="output surface" />
</background>
<!-- Cube Shader -->
<shader name="cube">
<normal_map name="nmap" color="0.5, 0.5, 1.0" strength="1.0" />
<diffuse_bsdf name="cube_closure" roughness="0.0" />
<connect from="nmap normal" to="cube_closure normal" />
<connect from="cube_closure bsdf" to="output surface" />
</shader>
<!-- Sphere Object -->
<transform matrix=" 1 0 -0 0 0 1 -0 0 0 0 -1 0 -0 -0.25 -0.0225 1 ">
<state interpolation="smooth" shader="cube">
<mesh P="1.0 1.0 0.0
-1.0 -1.0 0.0
1.0 -1.0 0.0
-1.0 1.0 0.0
0.0 1.23 0.0"
nverts="4 3"
verts="0 3 1 2 4 3 0"
UV="1.0 1.0 0.0 1.0 0.0 0.0 1.0 0.0 0.49 0.53 0.28 0.49 0.7 0.49" />
</state>
</transform >
</cycles>
Please assist me solve bump effects with proper render.
--
Thanks & Regards
Santosh Kumar Singh
Software Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.blender.org/pipermail/bf-cycles/attachments/20190327/a0bb5905/attachment.html>
More information about the Bf-cycles
mailing list