hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
11.33k stars 2.18k forks source link

Feature Request: Parallax Occlusion Mapping #5573

Closed ghost closed 10 years ago

ghost commented 10 years ago

Could .

hrydgard commented 10 years ago

Where would we get the depth maps from (without depth map, no parallax)? The PSP games only supply regular plain "diffuse" textures. I suppose we could simply use a grayscale version of each texture as the height map, but really, it wouldn't look any good.

hrydgard commented 10 years ago

Possible? Theoretically - but we don't have suitable displacement maps as the games don't come with them. Just like parallax depth maps. Also PSP game models are generally way too low detail for these techniques anyway. I don't think this request makes much sense, closing.

Sur3 commented 7 years ago

Well since we have the new texture replacement feature, i think depth-maps would be pretty useful, i hope this idea will be reconsidered for texture replacements to get an additional tesselation/depth-map to match the textured models better to the new textures. Also additional shaders for the replacement textures would be awesome.

hrydgard commented 7 years ago

Well, parallax mapping generally looks terrible with non-planar surfaces, so it's not a good general solution. Displacement mapping with tesselation is more practical. That said, I don't have plans to work on that anytime soon, maybe if someone else is very interested.