Jump to content

  • Log In with Google      Sign In   
  • Create Account

diffuse and specular reflection


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 rouncer   Members   -  Reputation: 291

Like
0Likes
Like

Posted 29 March 2014 - 09:31 AM

so basicly, you diffuse reflect, then add a little which counts for the unmodulated light (boost) then you multiply the whole thing until it sets in right.

 

you sample illumination 64 times out of the hemisphere of the pixel… itll be a little aliasy like that, but itll work.

its a 3 part process… its scattered diffuse + blurred masked/modulated reflection + blurred pure reflection.

you have a 3 dimensional blur on the scatterer, when doing skin, not rocks, make sure you blur rgb separately, its a great way to add a 3 dimensional channel effect. its artistic. then, at some angle weighting you clamp off the reflection at whatever blur level you want. you use the reflection vector, then just check how close you are to it, with the illumination sample you are using. 100% dry doesnt clamp off a single sample. (for rocks)

Havent thought about fresnel or snell or any wavelength based collisions yet, and its a little too much for a little man at this stage, im not a physicist, im just a game programmer.

then your game will look like a cheap vray… 64 rays a pixel, one bounce, you can sneak a short second bounce in, if you make your first bounce a hard shadow only, then soften from there.

so you adjust your scatter, then adjust your dry wet ratio for the reflection. (mirror is completely wet) and itll be a mean shader for some wizywig cg characters, sculpted with a realistic material.

 

10010300_10202635303258779_858842582_o.j

1898798_10202635196576112_347528838_o.jp

(the blurry bits look the best.)


Edited by rouncer, 29 March 2014 - 09:58 AM.


Sponsor:

#2 rouncer   Members   -  Reputation: 291

Like
0Likes
Like

Posted 03 April 2014 - 10:08 AM

here is my art program using the same technique on a 2d picture.

 






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS