Wed, Feb 5, 2:51 AM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2025 Feb 05 2:05 am)



Subject: Shadow color?


  • 1
  • 2
kyraia ( ) posted Tue, 02 October 2007 at 12:47 AM · edited Wed, 05 February 2025 at 2:50 AM

file_389618.jpg

Is there a way to render shadows in Poser other than black? As far as I remeber, in Vue the shadow color can be choosen freely, but I never found a way to do this in Poser.


pjz99 ( ) posted Tue, 02 October 2007 at 1:16 AM · edited Tue, 02 October 2007 at 1:17 AM

file_389620.jpg

You can decrease the shadow opacity, but that's not exactly what you want I think.  May be helpful to experiment with though.

My Freebies


dadt ( ) posted Tue, 02 October 2007 at 3:27 AM

file_389626.jpg

A  shadow does not have a colour, it is not an object, just an area where the illumination is different. The screenshot shows a ball lit by three lights which are pure green red and blue. 


dadt ( ) posted Tue, 02 October 2007 at 3:46 AM

file_389628.jpg

In this one the three lights are closer to each other so the shadows overlap.


dadt ( ) posted Tue, 02 October 2007 at 4:01 AM · edited Tue, 02 October 2007 at 4:02 AM

file_389631.jpg

This one has a blue IBL light to produce background illumination and a slightly yellowish infinite light. This is similar to what you get from a blue sky and sunshine.


bagginsbill ( ) posted Tue, 02 October 2007 at 12:25 PM

file_389659.jpg

The general solution is just as dadt says. The idea is that the shadow is whatever color there is from ambient lighting when your directional light is *not* shining on it. So set up an image based light with the general color you want for things that are not lit by your directional light.

A specific shadow color on a particular object can be done in the material room for the object that is showing the shadow. I have demonstrated this in the image above.

I use a Blender node to pick two colors for the ground. I drive it with the Diffuse node. The Diffuse node all by itself can detect where shadows fall. By inverting it with the subtract node, I get a high value where there is shadow. I can then adjust the Blending value to decide how much to change the color. Thus, I can choose a color for the shadow.

In this case, I made a pink ball and made the ground shadow pink as well. This is nice as it gives a tone to the ground making it seem like there is some light bouncing off the ball onto the ground, a really cheap form of cheating global illumination. It's not a general solution, but can be used for special effects quite well.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


bagginsbill ( ) posted Tue, 02 October 2007 at 12:37 PM

file_389663.jpg

Here's another useful illusion using the material technique.

You don't have to just use a color for the shadow. You can use patterns, too. Here I used a Fractal_Sum node to create little spots of color in the shadow. It looks like the glittery ball is throwing pink specular reflections onto the ground.

You'll have to click to see the full size view in order to be able to see the effect clearly.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


Robo2010 ( ) posted Tue, 02 October 2007 at 5:01 PM · edited Tue, 02 October 2007 at 5:04 PM

How about when shadow catcher is being used on ground? I have problems with shadow only being that one color. And I am using 1 IBL. When I use another light to make the shadow color, I get no shadow. I am trying to get my shadow color R:16 G:28 B:54


Conniekat8 ( ) posted Tue, 02 October 2007 at 5:05 PM

Great advice you got so far.
One thing one of my art teachers always emphasized is that realistic shadows are never solid black, and also that they always have some blue and opurple in them (when outdoors)
When indoors, they have a bit of dark part of ambient light coloring to them.

Hi, my namez: "NO, Bad Kitteh, NO!"  Whaz yurs?
BadKittehCo Store  BadKittehCo Freebies and product support


Robo2010 ( ) posted Tue, 02 October 2007 at 5:20 PM

file_389692.jpg

1.) Before. Setting up scene. 1 IBL Light.  Shadow Catcher ground.


Robo2010 ( ) posted Tue, 02 October 2007 at 5:21 PM

file_389693.jpg

2.) After. Shadow grey, and not color I would rather have. Struggled on this. Lighting still needs work, although the shadow color is what bothers me.


Mec4D ( ) posted Tue, 02 October 2007 at 6:24 PM

Quote - Here's another useful illusion using the material technique.

You don't have to just use a color for the shadow. You can use patterns, too. Here I used a Fractal_Sum node to create little spots of color in the shadow. It looks like the glittery ball is throwing pink specular reflections onto the ground.

You'll have to click to see the full size view in order to be able to see the effect clearly.

That is a nice illusion this one, great idea bagginsbill !!! quick and fast, simple is beautiful!

_________________________________________________________

"Surrender to what it is - Let go of what was - Have faith in what will be "


Mec4D ( ) posted Tue, 02 October 2007 at 6:44 PM

@ **Robo2010

**yes that is the problem here the shadows not always fit with the shadow catcher especialy when the orginal ground is reflective in the original photo so photoshop and layers are the last chance....until B.B come with a better idea ;)

_________________________________________________________

"Surrender to what it is - Let go of what was - Have faith in what will be "


gmadone ( ) posted Tue, 02 October 2007 at 7:14 PM

file_389697.jpg

I would go one step farther than BB does and use the ambient to force the shadow color.


bagginsbill ( ) posted Tue, 02 October 2007 at 7:34 PM

Attached Link: My Gallery Image - Spanish Tourist Attraction

> Quote - @ **Robo2010 > > **yes that is the problem here the shadows not always fit with the shadow catcher especialy when the orginal ground is reflective in the original photo so photoshop and layers are the last chance....until B.B come with a better idea ;)

 

Heheh. I have done this before. Examine my linked image (warning - tasteful nudity).

In the notes there I said this:

*This was suprisingly difficult. Had to make a custom shadow catcher that gave a blue tint to the shadow to match the real shadows. The lighting was pretty easy though. I hacked together an IBL probe myself to get the general lighting and then one infinite light at 120% took care of the rest.

*I'm at home and my Poser file for that is at work. If I recall correctly, I did not use the "shadow catch only" option. Instead, I attached something similar to the above shadow detector (1 - Diffuse) into the Transparency input of the ground.  This makes the ground become more opaque where there is shadow, and transparent where there is light. Then I placed a dark blue color in the Ambient and turned Ambient_Value = 1, with zero Diffuse_Value and Specular_Value. By adjusting the amount of transparency and the exact color, I was able to match the shadow exactly. 

Basically this is blending a specific color with the background picture where there is shadow and no completely transparent where there is light.

When I get to work tomorrow I'll open that file and post the exact material I used.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


Mec4D ( ) posted Tue, 02 October 2007 at 7:34 PM

That's cool idea too, thanks for sharing.. now what about the shadow catcher is there anything we can do about ? or is that a closed case

_________________________________________________________

"Surrender to what it is - Let go of what was - Have faith in what will be "


bagginsbill ( ) posted Tue, 02 October 2007 at 7:34 PM

Quote - I would go one step farther than BB does and use the ambient to force the shadow color.

 

Yeah almost. You forgot the rest of the floor needs to be transparent for the superimposed image on a background, if you're talking about that scenario.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


bagginsbill ( ) posted Tue, 02 October 2007 at 7:35 PM

cross post!


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


Mec4D ( ) posted Tue, 02 October 2007 at 7:44 PM

Yes I do that too in my renders not using the shadow catcher feature at all , to put a shadow on a light colored ground is fine not big deal look only on my Vacation pic from my gallery , but the most problem is if the ground is to reflective as in the image by Robo2010**
**

_________________________________________________________

"Surrender to what it is - Let go of what was - Have faith in what will be "


Robo2010 ( ) posted Tue, 02 October 2007 at 7:49 PM

 but the most problem is if the ground is to reflective as in the image by Robo2010**

Image (BG), to reflective (lighting and shadow)? 

Trying to grasp something here.. 😄**


Mec4D ( ) posted Tue, 02 October 2007 at 8:10 PM

I mean the ground reflect in the Image BG the light from the sky very intensive , the shadows under the car are much more darker there is not light from the sky not from the sun  , the position of your model is in a lucky spot where the part of the shadow excist already but the final render have a double shadows now.. so the parts of the shadows under the model should be darker and the rest need to match the other shadows of the image that have a ::blue tint:: and with shadow catcher feature it is not possible to do that correct.
You should render this out as a layer without the background image, remove the shadows from the places where they are already in the BG image and tint the rest of the shadows to match it and perfect image is finish..

_________________________________________________________

"Surrender to what it is - Let go of what was - Have faith in what will be "


Robo2010 ( ) posted Tue, 02 October 2007 at 8:20 PM · edited Tue, 02 October 2007 at 8:25 PM

Attached Link: The other Forum (DAZ) :Smile:

Ah ok, Your right.  I made only as an example (Shadow catching) and mostly for another forum. I wasn't really trying to improve image (or my work). The other forum is confused about shadow catcher. I get "Shadow catcher, What is that? What do you mean?...etc..etc" in another 3D forum. So, I had to make examples.  Also the shadow color does really bother me, and I would enjoy working on this shadow color when shadow catching in the near future. Can be fun.

This BG photo I took many years ago, months after the situation in Katrina, gas prices started sky rocketting day after. The pumps all over our city (Edmonton, Canada), were lined up of cars, for blocks. I was out taking photos capturing the moments. This was the only image I had on my Hard drive that had reasonable shadows to show, and give examples at the moment.


Mec4D ( ) posted Tue, 02 October 2007 at 8:35 PM

file_389702.jpg

Ok no problem i fixed it for you hahahah 2 min .. and don't blame the pple that don't know much about the software not even 50% of the words and what that mean..

_________________________________________________________

"Surrender to what it is - Let go of what was - Have faith in what will be "


Robo2010 ( ) posted Tue, 02 October 2007 at 8:46 PM · edited Tue, 02 October 2007 at 8:47 PM

Attached Link: Gas Pump Line up.

Kewl... 😄

But, here is the actual photograph if you want to play with it. 

And stuff to look at.

http://www3.telus.net/public/tfantini/


Mec4D ( ) posted Tue, 02 October 2007 at 9:05 PM

Thanks , the image give me some funny idea for later :)

_________________________________________________________

"Surrender to what it is - Let go of what was - Have faith in what will be "


bagginsbill ( ) posted Wed, 03 October 2007 at 11:35 AM

file_389736.jpg

I opened my previous colored shadow catcher and it was just as I described. However, I've come up with 3 new ways to do it that are incredibly precise. Meaning, you can tell the shadow catcher what color the ground is when lit and not lit, and it does exactly the right thing to adjust the image, rather than simply draw a fixed color in that spot.

Here's a demo render. I'll be posting the math and shader nodes as I have time. Unfortunately, I am currently in a very long meeting and can't post all the details at the moment.

Just as a teaser, the three techniques are:

  1. Given the math behind partial transparency, calculate a negative ambient color that will properly darken the image with respect to R, G, and B. (Demo image here did it that way.)
  2. Use a Refract node with IOR of 1 to "see" what's behind the shadow catcher. Blend that with a color, modulated by the shadow detector.
  3. Use a Refract node with IOR of 1, but muliply that with a color, modulated by the shadow dectector.

I think #1 is fastest (no ray-tracing needed) but I suspect methods #2 or #3 will give more precise results by allowing more manipulation of the underlying image. I will experiment more and let you know.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


bagginsbill ( ) posted Wed, 03 October 2007 at 11:37 AM

Forgot to say, don't criticize the shape or angle of the shadow - you can work that out yourself. I was having trouble matching the degree of blurring with the rest of the scene.

Click to see full size and examine closely the variations in the ball's shadow. It is not a solid color, but rather is showing response to the variations of the real ground image.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


Robo2010 ( ) posted Wed, 03 October 2007 at 11:38 AM · edited Wed, 03 October 2007 at 11:40 AM

WHOA!..

That is very impressive!


bagginsbill ( ) posted Wed, 03 October 2007 at 11:40 AM

file_389738.jpg

Here is a zoomed in view - notice that the crack in the pavement carries through into the shadow quite well. Click to see full size.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


jdcooke ( ) posted Wed, 03 October 2007 at 11:59 AM

Well kyraia, how's your brain doing?,... Mine's about to explode. :) This is exactly the type of thread that keeps me coming back to this forum. Thanks, everyone, for all your ideas and inspiration. take care jdc


Mec4D ( ) posted Wed, 03 October 2007 at 3:36 PM

BB excellent , thanks for sharing and your time... going to test it out with the methods #2 and #3

_________________________________________________________

"Surrender to what it is - Let go of what was - Have faith in what will be "


Robo2010 ( ) posted Wed, 03 October 2007 at 4:37 PM

Going to wait for a nod setup (although I am using Poser6, hope is the same), so I can see how this is achieved. Also, the sun is out, showing nice shadowing. Going out to take photographs. I am ready for some fun. 

😄


bagginsbill ( ) posted Thu, 04 October 2007 at 8:09 AM

Hi folks. Meetings, meetings, meetings. I'm about to go back in, so I didn't have time to develop and test methods #2 and #3. But, I'll present method #1 (using a negative color and transparency) for you. I will not explain the math, unless somebody asks for it. It's not too tricky, just basic algebra. But you don't really need to know it to use it.

I have designed the shader so that we can take all the guess work out of the process. Just follow the steps I outline and you should be all set.

Again, I'm not going to explain here how to generate the shadows in the right perspective. We can talk about that later. 

You can use a square or the ground plane for your catcher. I prefer a square as I can move it and scale it more easily. Here we go.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


bagginsbill ( ) posted Thu, 04 October 2007 at 8:11 AM

file_389802.png

First thing you must do is measure the general color of the lit ground and the shadows ground.

Load your background image into an image editor. Blur it. This is to remove details and measure the general color shift caused by light and shadow.

Then measure two spots that in real life would have similar colors if lighting was identical. Write these RGB values down. You'll need them later.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


bagginsbill ( ) posted Thu, 04 October 2007 at 8:12 AM

file_389803.txt

Here is the colored shadow catcher shader. Save it to your materials runtime as ShadowCatcher.mt5. Load it onto your ground plane or square.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


bagginsbill ( ) posted Thu, 04 October 2007 at 8:13 AM

file_389804.jpg

We need to calibrate the shadow detector for your light setup. If you aren't even close to getting your lighting done, do so first.

After calibration, if you change your lights, you may need to calibrate again.

The shader operates in two modes. These are controlled by the Calibrate node. A 1 here enables calibration mode. This is so you can render for shadow detector adjustment.

Do a render.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


bagginsbill ( ) posted Thu, 04 October 2007 at 8:14 AM

file_389805.jpg

First step in calibrating the detector is to adjust Calibrate_BLACK.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


bagginsbill ( ) posted Thu, 04 October 2007 at 8:16 AM

file_389806.jpg

Step 3.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


bagginsbill ( ) posted Thu, 04 October 2007 at 8:16 AM

file_389807.jpg

Step 4.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


bagginsbill ( ) posted Thu, 04 October 2007 at 8:16 AM

file_389808.jpg

Step 5.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


bagginsbill ( ) posted Thu, 04 October 2007 at 8:16 AM

file_389809.jpg

Step 6. Done.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


bagginsbill ( ) posted Thu, 04 October 2007 at 8:33 AM

Note: 

I played with more lighting contrast, lowering my IBL and raising my SUN.

As a result, sometimes increasing Calibrate_WHITE will make the BLACK gray again. If that happens, increase Calibrate_BLACK a bit more.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


Robo2010 ( ) posted Thu, 04 October 2007 at 8:56 AM

Geesh....I guess I am out of this one. I do not have "Calibrate" nods. I also see "Shadow color" nods.

Using Poser 6. Do not have P7.


bagginsbill ( ) posted Thu, 04 October 2007 at 8:56 AM

Dude those are math nodes. I used a plugin to rename them so you know what they are.

Just load the shader - all will be fine.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


Robo2010 ( ) posted Thu, 04 October 2007 at 9:16 AM

"I used a plugin to rename them.."

And which ones did you rename, and to what? Losing me here.


Khai ( ) posted Thu, 04 October 2007 at 9:26 AM

and where do we get this plugin to rename them? I could really use that... (or can they be renamed in notepad? runs off to see)


Khai ( ) posted Thu, 04 October 2007 at 9:28 AM

ooh you can use notepad... now to see which node is which..


bagginsbill ( ) posted Thu, 04 October 2007 at 9:38 AM


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


Khai ( ) posted Thu, 04 October 2007 at 9:50 AM

aah thanks BB that'll save time lol


bagginsbill ( ) posted Thu, 04 October 2007 at 10:54 AM

Quote - "I used a plugin to rename them.."

And which ones did you rename, and to what? Losing me here.

 

I renamed the ones that look like things you've never seen before.

Please don't be confused by the labels. Everybody thinks the label tells you what kind of node it is. It only does that by default, but I can change the label to something more meaningful.

You should not be worried about what the nodes are. Just load the shader, and fill in the values that I have labelled as such.

The shader needs to know the Shadow color - put that in the node called Shadow Color.

You don't need to know that it is actually a Simple_Color node. You need to know what it is for. That is how I've labelled them.

If you were going to try to build this yourself, you would need to know what types of nodes to add, but I really don't think you want to try to build this yourself, or try to change it. I haven't explained any of the math. Every time I try to explain the math, I get responses like "my head just exploded" or "this is too complicated for me to use - I'll pass". This is not complicated at all TO USE. 

It is WAY complicated to build, but I've already built it.

Just use it. Follow the instructions step by step. You will end up with perfect shadows.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


Mec4D ( ) posted Thu, 04 October 2007 at 4:07 PM

Excellent work BB thank you ...and don't wonder for some response, not everyone is deep in this stuff.. but well you made the work here done so I see not really big deal to follow the screen..

Robo2010 my dear don't be lazy .. you can use it good in your next perfect manipulation!!!
I hope you made great shots the other day!

_________________________________________________________

"Surrender to what it is - Let go of what was - Have faith in what will be "


  • 1
  • 2

Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.