Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend EnvironmentMapEffect with additional mappings #222

Closed
walbourn opened this issue Jul 7, 2020 · 2 comments
Closed

Extend EnvironmentMapEffect with additional mappings #222

walbourn opened this issue Jul 7, 2020 · 2 comments
Assignees

Comments

@walbourn
Copy link
Member

walbourn commented Jul 7, 2020

The current implementation only supports cubic environment mapping which is native to the hardware.

For completeness, it should also support:

  • Spherical mapping (ala Direct3D 9 era)
  • Parabolic mapping (use texture index 0 & 1 so it requires Direct3D hardware level 10.0 or greater)
  • Octahedronal mapping (as a stretch goal)

Blinn & Newell, "Texture and Reflection in Computer Generated Images", Communications of the ACM. 1976.
link

Heidrich & Seidel, “View-independent Environment Maps”, Eurographics Workshop on Graphics Hardware, 1998. link

Engelhardt & Dachsbacher, "Octahedron Environment Maps", Visualization Research Center, University of Stuttgart. link

@walbourn
Copy link
Member Author

walbourn commented Jul 7, 2020

This is related to DirectXTex tool tasks

microsoft/DirectXTex#39

microsoft/DirectXTex#14

microsoft/DirectXTex#13

@walbourn
Copy link
Member Author

walbourn commented Jul 8, 2020

See this PR for DirectX 11

And this PR for DirectX 12.

@walbourn walbourn self-assigned this Jul 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant