31
Mar
08

Vertex Displacement Mapping + Normalmap

Normal mapping and vertex-displacement mapping from the same texture.
This ones uses the Kineme texture tools to create the displacement texture. It’s a classic use of the technique.

Not sure I’ll ever use this one ‘in anger’ but it’s an interesting test. I’m glad the lighting works so well, too.

The base colour comes from the normal map, incidentally.

Vertex Displace Mountains 03
Vertex Displace Mountains 04
Vertex Displace Mountains 05

The final screenshot shows the mesh from the back. Not quite sure why it looks so different from that side…

Next I have to work out if I can use the same technique with radial displacement. Think that might be a bit more tricky.

Advertisements

3 Responses to “Vertex Displacement Mapping + Normalmap”


  1. 1 hob
    April 15, 2008 at 10:31 pm

    That looks amazing. Can it be manipulated?

  2. 2 saegezahnmusik
    August 13, 2008 at 4:54 pm

    Very nice work! I was going through maybe all glsl-mesh-related vertex displacement stuff for quartz composer. How did you do the above example? Where does the displacement come from? From inside a glsl-vertex shader?

  3. 3 toneburst
    August 13, 2008 at 8:17 pm

    Hi saegezahnmusik,

    the displacement comes from a still image, as far as I remember. The image is fed into the Vertex Shader as a Sampler2D, and used to displace the position of the vertices. The same displacement image is also used to generate a normal map for lighting. It’s actually a failed experiment though, as the lighting doesn’t work properly except from a narrow range of angles.

    I tried an alternative approach here
    https://machinesdontcare.wordpress.com/2008/05/22/radial-vdm-sobel-normalmap/

    I plan to go back to this at some point. Ultimately, I think using a heightfield-type plugin is the way to go, rather than using Vertex Shader displacememtn-mapping, which will always fall back to CPU-rendering, unfortunately.

    a|x


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Twitter

March 2008
M T W T F S S
« Feb   Apr »
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Links

Blog Stats

  • 473,930 hits

%d bloggers like this: