Hy guys ! i'm trying to create a matte glass texture for the windows of a car. I've never done this before , so the first thing i tried was using an hdri enviroment and baking the reflections to get a base for the glass look, the problem with that is that there is no way , as far as i can tell, to bake reflections independent of a camera ( i'm using batch bake in mental ray)...granted i could bake separate maps from a view that favourises each window and then cut and paste the good bits in a final map, but i wonder if there isn't an easier way.
How do you guys make textures for matte glass ?
Replies
I don't think that chopping up a cube map would give a good result because the windows are slanted and convex, and they'd reflect the enviroemnt differentely than the straight faces of a cube
I might be totally misunderstanding what you are trying to do here.
If you want a render of these windows with reflections. Then the other way to handle it is to turn on raytracing and actually have something in your scene for the windows to reflect. A good cheat is too just have a environment image mapped to a cylinder or half sphere which surrounds your object.
Sorry for the short reply earlier, I was heading off to sleep and figured the info on the wiki page would be self explanitory.
Thanks for your help Ben Apuna
1) i mapped an eviroment texture to the color slot of the shader using a spehrical projection, like this :
2) i used convert to file texture with default options
what i got didn't look much like a reflection tho
here's the comparison : enviroment converted to texture left, baked relfection right
if i didn't understand the process please correct me
In other words, you can't use a render-to-texture to bake a decent reflection.
If you want to bake in a reflection (which always looks crap IMO, better to go with gray windows) then you should just layer it on in Photoshop.
Thanks guys