Parallax Mapping demo
i've wrote a small demo with 3 shaders:
simple asm bump mapping,
asm parallax mapping,
Cg parallax mapping.
use B,N,M to switch between the shaders, W,A,S,D to move the camera,and TAB to render wireframe.
here's the link:
http://www.neoborn.com/users/b3rs3rk/parallax%20mapping%20demo.rar
let me know what you think ^___^
sorry for that :P please redownload the archive, now it includes the dlls ^__^
I can't see the Cg parallax mapping thingy, it just shows the method used before.
www.flashbang.se | www.thegeekstate.com | nehe.gamedev.net | glAux fix for lesson 6 | [twitter]thegeekstate[/twitter]
this is a strange thing that happens also to me..i've installed the cg toolkit from the nvidia website, and if i do not put the dlls in the demo directory, everything works, but if i do.. :/
any suggestions?
any suggestions?
Works perfectly for me. A very pretty demo. One suggestion: are you sure that the heightmap isn't loaded in flipped with respect to the normal and texture jpegs? On close examination the seams in the bricks don't seem to match up with the furrows visible in parallax mode. Very cool though, am having fun randomly changing shader values... I should probably learn Cg.
@Hamster: i know that the heightmap is flipped, but works and i'm too lazy to fix it :P
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement