Why is the same brick different tone on terrain versus model? What settings should I use to match them?
It looks like your angle of light is playing a part in the difference.
Here's a different angle.
Have you checked the default shader in the model to make sure that the diffuse color is .5 and not something else?
It was lower; I've now modified it to diffuse 1, ambient 0, and specular 1. I'll start there and use trial and error 'til I strike the balance.
I think to match it with the image map shader you should use .5 diffuse color....
What I meant is that the vertical bricks will naturally have some shading that the street that is open to the full bright sun will not.
Look at the foundation in the first photo -- there are horizontal bricks on the model next to the ones on the terrain; they receive the same light.
Quote from: old_blaggard on July 25, 2008, 04:12:10 PM
I think to match it with the image map shader you should use .5 diffuse color....
I'll set that now to .5; it seemed that the terrain tex was so bright that the model version needed a white base...
Diffuse is at .5 in the .mtl definition -- and still the model is washed out compared to the terrain shader.
Hmm, that's quite odd. Maybe you should try applying the image to the terrain with a default shader as well to see if the Image map shader treats it differently. Also, you can continue to fool with the diffuse color, although that doesn't seem to be the answer anymore. I have to admit that I'm rather confused about what's causing this. Is there any layer underneath the terrain shader that could be causing it to be lighter?
What is your "Convert to Linear" option in your Image Map Shader set to and what is your conversion gamma? Try adjusting these. Or better, try using the same type of node to place images for both.
- Oshyan
Quote from: old_blaggard on July 25, 2008, 05:25:52 PM
... applying the image to the terrain with a default shader as well to see if the Image map shader treats it differently.
This, plus a few hours of sleep and a cup of coffee solved it. Now to test on the larger buildings with full terrain shaders.
I rebuilt from scratch, not altering the default color settings -- linear is checked, gamma at 2.2.
What do these settings mean:
1. Smooth interpolation
2. Unpremultiply
3. Convert to Linear
4. Data is linear