Hi,
Wracking my head around this. I've tried specular material which gives a bit of an undesired result.
I'd like to assign an rgb value to the output shadow of a single object, but not the rest of the scene.
See the attached video as a primer to better understand what I'm after...
https://www.youtube.com/watch?v=EN_xB9Fkw9M&t=24s
Any help would be greatly appreciated.
thanks,
Dom
Is it possible to change the shadow output?
Forum rules
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB
- fivebythree
- Posts: 231
- Joined: Tue Jun 10, 2014 2:43 pm
- Location: Toronto, CAN
- Contact:
STANDALONE+STUDIO WIN11PRO | RTX3090 | XEON 4210 20 CORE | 96GBRam
You could mix 2 materials with a ray switch node in a similar way to the blender video.
Just tweak the specular material to get the look you want (I set IOR to 0, enabled fake shadows and made refraction blue)
See attached scene.
Just tweak the specular material to get the look you want (I set IOR to 0, enabled fake shadows and made refraction blue)
See attached scene.
- Attachments
-
- oct_rayswitch_shadow_color.ocs
- (63.48 KiB) Downloaded 76 times
Win10 Pro / Ryzen 5950X / 128GB / RTX 4090 / MODO
"I am the resurrection, and the life: he that believeth in me, though he were dead, yet shall he live" - Jesus Christ
"I am the resurrection, and the life: he that believeth in me, though he were dead, yet shall he live" - Jesus Christ
- fivebythree
- Posts: 231
- Joined: Tue Jun 10, 2014 2:43 pm
- Location: Toronto, CAN
- Contact:
Wow, I was doing this wrong! I was using the mix texture node and not the Mix Material. Thanks for you help! It's exactly the result I was in need of.
STANDALONE+STUDIO WIN11PRO | RTX3090 | XEON 4210 20 CORE | 96GBRam
- fivebythree
- Posts: 231
- Joined: Tue Jun 10, 2014 2:43 pm
- Location: Toronto, CAN
- Contact:
I have a bit of a follow up to this question.
Shadows are passing through the mix material. Is it possible to prevent this? The diffuse material seemingly does this, but the specular material seems to allow the shadow from another object to pass right through. Here's an image to illustrate the issue.....
Thanks again,
Domenic
Shadows are passing through the mix material. Is it possible to prevent this? The diffuse material seemingly does this, but the specular material seems to allow the shadow from another object to pass right through. Here's an image to illustrate the issue.....
Thanks again,
Domenic
STANDALONE+STUDIO WIN11PRO | RTX3090 | XEON 4210 20 CORE | 96GBRam
I think what you are seeing is the logically correct shadow. It's like stacking filters; the blue building has already blocked the red light, so there's none left to go through the pink building. Where the shadows overlap, you'll get only what frequencies can pass through both buildings. You may need to do separate shadow passes and color them in post to make the pink building cast a pink shadow after being blocked by a blue shadow.
But don't give up yet. There are people here far cleverer than me who might have an elegant in-camera solution.
But don't give up yet. There are people here far cleverer than me who might have an elegant in-camera solution.
Animation Technical Director - Washington DC
- fivebythree
- Posts: 231
- Joined: Tue Jun 10, 2014 2:43 pm
- Location: Toronto, CAN
- Contact:
Appreciate your tips. I figure its going to either be a really difficult set of steps or something blatantly easy. I think I'm not entirely understanding the ray-switch node. The documentation is rather limited on the standalone manual. Perhaps there's deeper documentation on C4D or Blender's manuals.frankmci wrote:I think what you are seeing is the logically correct shadow. It's like stacking filters; the blue building has already blocked the red light, so there's none left to go through the pink building. Where the shadows overlap, you'll get only what frequencies can pass through both buildings. You may need to do separate shadow passes and color them in post to make the pink building cast a pink shadow after being blocked by a blue shadow.
But don't give up yet. There are people here far cleverer than me who might have an elegant in-camera solution.

STANDALONE+STUDIO WIN11PRO | RTX3090 | XEON 4210 20 CORE | 96GBRam
I'm not seeing an obvious way to do what you want in a single render. I think you'd need to do this with separate passes.
Someone smarter than me may have other ideas.
Someone smarter than me may have other ideas.
Win10 Pro / Ryzen 5950X / 128GB / RTX 4090 / MODO
"I am the resurrection, and the life: he that believeth in me, though he were dead, yet shall he live" - Jesus Christ
"I am the resurrection, and the life: he that believeth in me, though he were dead, yet shall he live" - Jesus Christ