1

I'm having a problem with multiple materials and multiple importance sample options on the light.

I make a vertex color to assign the different material to the vertex. Node setup is in the screenshot. Also, I choose the multiple importance sample option on the sun lamp.

The problem is the shadow from invisible part of the prism. I need to make a shadow only from a visible part. Also, there is no way to call a vertex group by name, only by color, right?

enter image description here

Ray Mairlot
  • 29,192
  • 11
  • 103
  • 125
Ilya Kanatov
  • 615
  • 7
  • 12
  • 1
    Make sure transparent shadows is enabled in Properties > Material > Settings, and that Shadows is enabled in Render settings > Light paths. Also note that you can directly assign separate materials to different faces, which might be want you want. See http://blender.stackexchange.com/q/9292/599 – gandalf3 Dec 18 '14 at 11:23
  • Thanks for your reply! The problem was in zero difuse reflection bounces in Light Paths settings. – Ilya Kanatov Dec 19 '14 at 05:29
  • Yep, that would do it too. Glad you found the answer :) Feel free to post it in an answer below so this can be marked as answered, making it easier for others with the same issue to find. Thanks :) – gandalf3 Dec 19 '14 at 07:51

1 Answers1

1

The problem was that there were zero diffuse reflection bounces. This value can be set in the Light Paths settings.

gandalf3
  • 157,169
  • 58
  • 601
  • 1,133
Ilya Kanatov
  • 615
  • 7
  • 12