• Tuesday , 11 December 2018

Quick Tip: How to Render a Shadow Pass in Cycles

Code Canyon

https://i.ytimg.com/vi/t_B2H_jnaoU/hqdefault.jpg



http://www.blendertutor.com/shadow-pass-in-cycles/

Hi everyone! I was looking at some old After Effects work that I did, and came across a photo that I had added “3D” text onto with a fake shadow. I decided to recreate the effect in Blender with cycles, and decided to create a quick tutorial!

In this quick tip, we’ll go over how to break apart your scene into separate render layers so that we can properly composite the shadow pass onto the 2D image. We’ll also go over using the “Box Mask” node to mask out areas of a render that we want to remove. In the end we’ll composite the shadow pass, and then the 3D text onto the 2D image.

Check Blender Tutor out on Facebook: https://www.facebook.com/blendertutorpage
and on Twitter: https://twitter.com/blendertutor

source

3d Ocean

Related Posts

47 Comments

  1. Dominic Ross
    November 15, 2018 at 22:36

    hi do u have blender tutorial 2.79 ? can u make some effects with it?

  2. FC Barcelona Highlights
    November 15, 2018 at 22:36

    why my blender not show the film property? so what I do sir?

  3. SVAFnemesis
    November 15, 2018 at 22:36

    box mask?! hell no. It's time for a new shadowpass tut for youtube

  4. Colton Cullen
    November 15, 2018 at 22:36

    box mask… wtf bro.

  5. Jan Reichelt
    November 15, 2018 at 22:36

    how can i tick the transparent box (by film in the render menu) with an Backround image (HDR) ?
    i have the Problem,that when i tick the transparent, the backround gets too transparent (there should be that hdr 😀 )

  6. Panthur
    November 15, 2018 at 22:36

    Is this possible in Blender Render??

  7. Stephen Hargreaves
    November 15, 2018 at 22:36

    I've automated this now – grab the plugin at http://blenderartists.org/forum/attachment.php?attachmentid=435103&d=1462197913

  8. FoxxPix
    November 15, 2018 at 22:36

    Good tutorial but something seems to have changed between 2.67 and 2.75. Everything broke down after the mix node was added. When I plugged in the image node to the mix node and set it to multiply everything went black and nothing else worked after that.

  9. Mr Jee
    November 15, 2018 at 22:36

    How do I save my image after the composite?

  10. Mr Jee
    November 15, 2018 at 22:36

    At 12.50 when you do the boxmask thing that only works for an image with black on top? I have black on both sides and on top so how do I fix that??

  11. Vax S
    November 15, 2018 at 22:36

    If anybody want to know how to add shadow on HDRI in real time,watch my tutorial !

  12. Amran Sidek
    November 15, 2018 at 22:36

    thx

  13. Noob & Roll
    November 15, 2018 at 22:36

    Mil mil gracias, me ayudó muchísimo su tutorial, de verdad, andaba buscando como hacer esto y por fin lo encuentro, no lo encontré en español pero su tutorial se entiende a la perfección, muchas gracias, Thank You Very Much =D

  14. Birdseye Media
    November 15, 2018 at 22:36

    how can you edit an obj fill in blender ? very frustrating:(

  15. Cj Kalandek
    November 15, 2018 at 22:36

    YES! THANK YOU! I've been looking all over for this!

  16. MaximumJonathanosity
    November 15, 2018 at 22:36

    Thank you I appreciate the quality.

  17. Loic Sen
    November 15, 2018 at 22:36

    If you don't see nothing in the shadow pass, it's because you don't use a Blender lamp. I had the problem…

    Thanks for this great tutorial.

  18. Warwick Lambert
    November 15, 2018 at 22:36

    BTW I am using the latest version (2.76) so it works fine!

  19. Bibek .D
    November 15, 2018 at 22:36

    Hello BLENDER TUTOR,
     I tried to stretch/Aspect the ratio of camera, but the whole rendered image is stretched.
     What could i do please?

  20. Yann DUBOIS
    November 15, 2018 at 22:36

    thanks !

  21. Ivan Štetin
    November 15, 2018 at 22:36

    Nice dude

  22. 3D Latino
    November 15, 2018 at 22:36

    Me sirvió! Gracias Amigo!

  23. super man
    November 15, 2018 at 22:36

    Next time, Pls just focus on the topic you metion in the video title. Making it less lengthy gives comfort

  24. Rafael Moraes
    November 15, 2018 at 22:36

    Thank you

  25. Minhaj Khan
    November 15, 2018 at 22:36

    I think rather than using a box mask, it would be better to use Subtract to remove the bg from the shadow

  26. Raw Tee
    November 15, 2018 at 22:36

    note: these shadows will not work with a Cycles Light Plane…
    Don't as me Y

  27. Cordthundertree
    November 15, 2018 at 22:36

    You're a life saver. Thank you so much 🙂

  28. Александр
    November 15, 2018 at 22:36

     Дело в том, что не получается сделать именно так, как показано в уроке. Будем разбираться…

  29. TheSmolgu
    November 15, 2018 at 22:36

    I think that you have some older version of blender because I didn't succeed very well. I totally failed whit my pic 🙁

  30. Hawk Sandwich
    November 15, 2018 at 22:36

    Thank you! Not only will I be using this for cool little projects of my own, but I'm going to use this technique to make an advertisement for my mom's store 😀 

  31. Gábor Horváth
    November 15, 2018 at 22:36

    hi, thanks but the video resolution is very low for see the details. 

  32. danodude
    November 15, 2018 at 22:36

    Nice video. My shadow didn't appear though, what would be causing this?

  33. Mike James
    November 15, 2018 at 22:36

    I dont have that surface section under world button were you add the environment 

  34. Mike James
    November 15, 2018 at 22:36

    How would you get your lighted text, like a neon sign cast onto the backround picture. I got my text to light up by going to the global setting and turning on indirect lighting and the approximate tab. but i cant get the back lighting to show on the picture any suggestion?  

  35. ValorVictini
    November 15, 2018 at 22:36

    Yes…make a 3D tracking Tut.  Let me know when its up!  Your tutorials are great, I've been transitioning from 3DS Max…so far I'm liking Blender as much as I do 3DS Max.  Also'd like to request a tutorial to import blender models into Flash Pro CS5 + if you are able.  Thanks 

  36. rasool gh
    November 15, 2018 at 22:36

    that is awesome,thank you very much,I'd like to see your tutorial about camera tracking.

  37. Konner Rasmussen
    November 15, 2018 at 22:36

    while i love that your making tutorials… you are getting caught up on the same problem every youtube teacher does…. all that other stuff, such as the 3d text, the viewport resolution, and the background image,  deserve their own video… i want ONLY to know how to make a transparent material receive shadows… 

  38. Michaela Vatcheva
    November 15, 2018 at 22:36

    Are you still going to make a video tracking tutorial? That would be rad 🙂 Thanks

  39. BrownInkTV
    November 15, 2018 at 22:36

    Yes i would like you to do a 3D track for this project

  40. rioforce
    November 15, 2018 at 22:36

    It's different in Blender Internal. You just add a quick material there and it's done. Cycles is harder because it's still in development.

  41. AxelFxFilms
    November 15, 2018 at 22:36

    Blender is free though

  42. Undy
    November 15, 2018 at 22:36

    Yes, and in Blender you can 3D track* a video or an object and after it's done you have an option to create a tracking scene – this handles all the node setup for you, and you can render immediately after however this works for blender internal and not cycles (not yet anyway). Cycles is relatively new and still heavily developed rendering engine – it's a raytracing engine which supports both CPU and GPU (CUDA) rendering* much like luxrender.
    *i'd like to see these functions in max

  43. Nikhil Kumar
    November 15, 2018 at 22:36

    idk man in blender if u just click setup tracking scene..u get shadows n everything in 1 sec lol

  44. LKDesign
    November 15, 2018 at 22:36

    My goodness. Compared to how 3dsmax handles this, this workflow is downright horrifying. In max you apply the matte/shadow-material – all done!

  45. sam jonson
    November 15, 2018 at 22:36

    why when i combine them all following your node setup it only shows the text when i mix them im on Blender internal ?

  46. onjoFilms
    November 15, 2018 at 22:36

    Sorry, not my video. I'm just a commenter on the video. But yes, you are right. Tim Ward has a good one on doing just that. Thanks.

Leave A Comment

You must be logged in to post a comment.