Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Cheap Subsurface Scattering

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
5,190
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 21, 2009

Realtime SSS written in GLSL. It is a variant of this shader (credits to InvalidPointer):
http://www.gamedev.net/community/forums/topic.asp?topic_id=481494

For those who do not know what sub-surface scattering is, its a kind of light transport in which light enters an object, scatters inside it and then exits the object. It is a visible effect in lots of common materials, such as rubber, marble, wax, or human skin: Have you ever looked at someone´s ear while a light source is behind the ear? it looks translucent due to sss.

This glsl shader fakes it using an artist-made texture which defines, for each pixel, the scatter color and the thickness of the object (It would be possible to accurately calculate this thickness in realtime by rendering the zdepth two times from the light pov for front and back faces of the object, and then subtracting the two). Then it computes the lighting using that data, along with light direction, object normals and view direction. It is a very cheap effect, comparable to usual phong lighting w/ normal mapping.

Along with sss, in the video you can see ssao (screen space ambient occlusion) and parallax bump mapping.

(Sorry for the video quality, i´m not very good at making videos for youtube.)

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (arkano22)

  • It looks like penises with legs

  • @TriKri LOL

see all

All Comments (10)

Sign In or Sign Up now to post a comment!
  • @TriKri

    LOL

  • i would disagree with the fake comment the effect looks very convincing, and thanks for the clear and complete description.

  • really like this! impressed

  • so cheap

  • You have learned well, grasshopper.

  • nice. it is a cheap fast way to render it.

  • looks verry fake though

  • LOL!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more