To be honest, I dislike the comments putting it down as 'fakery'. Because it truly is 3D. And using gl_FragDepth it is very possibly to make polygon geometry intersect realistically with a parallax surface if you do some extra work.
Otherwise, to be honest, polygons are just as fake. Polygons are 3D on your 2D screen. Having a 3D texture on a 2D surface which is 3D on a 2D screen. Well in reality it is all 2D in the end?
Ow. So its called Parallax Occlusion. I did not know what it is and how its made when I seen in ending of my fav. anime. Good example (im sure You could do better ^^ ) but its good.
Parallax you use a different texture for or just use the normal map / diffuse but for displacement mapping you add more polygons to the geometry but it looks way better but costs way more off the computer
This technique only changes the texture to make it appear as if there is more detail, whereas displacement mapping actually DOES add/modify polygons and DOES add detail. Basically, this technique is "fakery", whereas displacement is true polygon modification.
Diplacement mapping does ACTUAL surface deformations to achieve the bump effects. Parallax mapping just changes the coordinates of pixels on a texture so it looks like it's 3d
Cool, but you should try to fix the corner of the box, even if ti looks cool, it's just not realistic. Very cool though, keep on improving it and keep up the good work.
I remember the first time is saw parallax mapping was in a tech forum about 10 years ago now. Someone had written a white paper on the idea and when the code was written, people in the forums began writing additional code that would allow for the displaced pixels to continue being drawn even if it went outside the edge of the triangle. So yes, it CAN be fixed. The question is "How?"
This music makes me think of Monkey Island..
stupidmariobros913 1 month ago
it like a hologram shader. looks 3d buts its flat
deluxedookie 1 year ago
this.music + this.demo = BEST
AttaKru 1 year ago
without this every little crack in a wall on a game would have to be a 3d model this is so much faster, they also use this in grand theft auto 4
jer3my95 2 years ago
To be honest, I dislike the comments putting it down as 'fakery'. Because it truly is 3D. And using gl_FragDepth it is very possibly to make polygon geometry intersect realistically with a parallax surface if you do some extra work.
Otherwise, to be honest, polygons are just as fake. Polygons are 3D on your 2D screen. Having a 3D texture on a 2D surface which is 3D on a 2D screen. Well in reality it is all 2D in the end?
NexiiM 2 years ago
Ow. So its called Parallax Occlusion. I did not know what it is and how its made when I seen in ending of my fav. anime. Good example (im sure You could do better ^^ ) but its good.
Peterjacobczak 2 years ago
when i saw this on a 6600 playin FEAR i was blown away
Hless421 2 years ago 3
Same here <3
When I first saw it on the 360, I didn't even know shaders existed
Also, am I the only one that finds the music strangely fitting for a tech demo? xD
SystelCyrus 2 years ago 13
What is the difference between this technique and displacement mapping?
CodyRicheson 2 years ago
Parallax you use a different texture for or just use the normal map / diffuse but for displacement mapping you add more polygons to the geometry but it looks way better but costs way more off the computer
BuzzardQ2 2 years ago
This technique only changes the texture to make it appear as if there is more detail, whereas displacement mapping actually DOES add/modify polygons and DOES add detail. Basically, this technique is "fakery", whereas displacement is true polygon modification.
Synoryth 2 years ago
Diplacement mapping does ACTUAL surface deformations to achieve the bump effects. Parallax mapping just changes the coordinates of pixels on a texture so it looks like it's 3d
jackmcslay 2 years ago
If its GLSL We want a tutorial for implementing it :)
spider853 3 years ago
Cool, but you should try to fix the corner of the box, even if ti looks cool, it's just not realistic. Very cool though, keep on improving it and keep up the good work.
AndyGoRAWR 3 years ago
um, u can't "fix" the corner on anything with a parallax map. that's normal. this is obviously for demonstration purposes.
anyway, How many samples is that? i see no stacking at all. looks good.
LordHines420 3 years ago 4
@LordHines420
I remember the first time is saw parallax mapping was in a tech forum about 10 years ago now. Someone had written a white paper on the idea and when the code was written, people in the forums began writing additional code that would allow for the displaced pixels to continue being drawn even if it went outside the edge of the triangle. So yes, it CAN be fixed. The question is "How?"
psychosavant 1 year ago
@psychosavant Someone already did it. In fact, it's to the right of the vid.
xalener 1 year ago
That looks crazy going over the edge.
LokiClock 3 years ago