Skip to main content
gamedev.net
🔒 Locked

parallax algorithm?

Started by Saimi 2 replies 700+ views
Original Post
Saimi
Saimi
Hi, I just wondered if any of you have a link to a parallax algorithm. I have searched google, but cannot really find a direct algorithm, only code examples, and I really like to do things myself. Kind regards /s a i m i
stuh505
stuh505
Huh? Parallax is not an algorithm. What do you want to do?
vincoof
vincoof
Maybe you should start with that paper : Parallax Mapping with Offset Limiting

This paper became very popular few years ago because it both describes well the technique as well as showing practical code examples.

Now many improvements were proposed, and you may see many other papers on the Internet, but every improvement grants image quality with losing more or less significant performance. So all in all the "old" technique described above still remains popular today. It is very easy to implement it in a pixel shader, granted your 3D engine already supports DOT3 bump mapping, and is AFAIK the fastest way of rendering parallax mapped textures.
Saimi
Saimi
whoops, just realized this is probably not a opengl related question. and also sorry for calling parallax an algorithm :P

what i meant was a description/article about it, so you hit the nail right on the head vincoof thank you!!

cheers

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.