# challenging material

**URL:** <https://blenderartists.org/t/challenging-material/561711>\
**Category:** Lighting and Rendering\
**Created:** [January 7, 2013, 9:30pm UTC](https://blenderartists.org/t/challenging-material/561711 "2013-01-07T21:30:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fjg3d](https://blenderartists.org/letter_avatar_proxy/v4/letter/f/a5b964/32.png) [@fjg3d](https://blenderartists.org/u/fjg3d)\
**Post date:** [January 7, 2013, 9:30pm UTC](https://blenderartists.org/t/challenging-material/561711/1 "2013-01-07T21:30:57Z")

</div>

Can any cycles guru’s suggest a way to shade a [vending machine capsule](http://2.bp.blogspot.com/-S9VVChEpS1k/TZuuNYGlO0I/AAAAAAAAA_A/CqaRVvv9jBg/s1600/capsules-closed.jpg)? I’ve been trying to implement absorption, as well as measure the thickness of the capsule with the light path (camera) node and geometry node for opacity fall-off at edges. results aren’t turning out that great.

The capsule model I’ve built is a ‘solid’ object, so it has thickness. not sure if this would cause problems with ray length…

Thanks!

---

<div class="post-metadata">

**Author:** ![FloridaJo](https://blenderartists.org/user_avatar/blenderartists.org/floridajo/32/7890_2.png) [@FloridaJo](https://blenderartists.org/u/FloridaJo)\
**Post date:** [January 8, 2013, 9:12am UTC](https://blenderartists.org/t/challenging-material/561711/2 "2013-01-08T09:12:07Z")

</div>

Here’s one way. Just a quick set up, still needs work. Add an HDRi etc. tweak the shaders.

 ![](https://blenderartists.org/uploads/default/original/3X/4/e/4e3390fe39921a5c7f1c1dad8121ae1540b6d402.jpg)

---

<div class="post-metadata">

**Author:** ![fjg3d](https://blenderartists.org/letter_avatar_proxy/v4/letter/f/a5b964/32.png) [@fjg3d](https://blenderartists.org/u/fjg3d)\
**Post date:** [January 8, 2013, 12:37pm UTC](https://blenderartists.org/t/challenging-material/561711/3 "2013-01-08T12:37:46Z")

</div>

Wow - did’n’t realize how much faster hdri can render in this case. thanks for suggestions!
