Scratches in Glass Tutorial, Overview, How to


(Haker) #1

Upon request I decided to test my theory of weather or not I could get scratches to appear in glass when light shines on it.

Its all very simple, and I have yet to perfect teh technique but it will work and is photorealistic-capable.

As you can see, in the image below, I have applied a basic texture is slapped togetehr in photoshop.

I set the “Map to” to Spec and sometime Ref. Feel free to experiment. Make sure to deselect “col” = color.

It should work fine, but I suggest playing with the Spec and Hard value, I find that 1600 and 50 Hard can be good, but I recommend experimenting with these.

This is showing what happens under extreme light and extremely high spec and low hard.

The previous Image is just to demonstrate it workes, I do recomend that you UV map the scrashing, to reduce scratching on the inside of the galss, however I did not, and it seems to work fine.

Here is a subltle light, the far end of the glass is showing loud and clear, and teh near end is showing subtle scratches.

Here is even more subtle conditions, as you can see the scratch ing is at the very top based on where the light is.

Here is more normal light conditions, although I did not have time to perfect anything.

Now, my images are not that great, but it will tell the intermediate blenderman how too accomplish scratching. Now you may notice the scratches are not taht realistic, but that is because of my poor textureing in photoshop, the more realistic you can get with the texture the more realistic your scratches will be.

Here is the one I made in PS

http://img.photobucket.com/albums/v312/Haker/Scratch.jpg[/img]


(z3r0 d) #2

what about setting it to nor?


(Haker) #3

Because Nor value makes it appear like there are scratches engraved in the mesh instead of subtle scratches taht are only scene when light hits it lik in RL, but as I have said experiment with it.


(thelonesoldier) #4

Scratches are engraved in the glass. If you have the Nor value low, I think it would make good looking scratches that don’t stand out too much. But then I haven’t tried it.


(Duhast) #5

I made this with yafray, “clear glass” default settings, NOR 0.05

http://img181.imageshack.us/img181/4262/glass6om.jpg

With a little tweak this could look like ice.


(Spin) #6

If the UVmap (bumpmap) was gray with dark-gray scratches, you’ll have more control on the NOR settings.

This is how I used it on this glass…
http://mysite.verizon.net/vze3nvj6/Blender/gallery/imagepages/image29.html


(thelonesoldier) #7

Duhast, the scratches in your glass look very blurry. Did you lower the filter value to make the texture sharper?

edit: Oh, any good tips for drawing scratches in Photoshop? When I try they look terrible.


(Haker) #8

I am no texture guru in PS unfortunately, I am trying to learn though, one of my prime goals is to get better at texturing in combination with PS and Blender.

Search around google and maybe try http://www.tutorialized.com/


(Spin) #9

It is hard to do with a mouse. I use a pressure-sensative drawing pad. PhotoShop and PaintShop both accept Pressure Sensative Drawing Pads.

Click to see the drawing Pads

My brand is Medion. I paid about $29.00 for mine last year.


(thelonesoldier) #10

That’s what I suspected.

Wow, that’s amazingly cheap compared to a tablet from Wacom. But a friend of mine has a Wacom, so I could probably borrow his.


(Duhast) #11

No, I just played with the nor values.