microsoft / DirectXTK12

The DirectX Tool Kit (aka DirectXTK12) is a collection of helper classes for writing DirectX 12 code in C++
https://walbourn.github.io/directx-tool-kit-for-directx-12/
MIT License
1.47k stars 393 forks source link

EnvironmentMapEffect updated to support sphere and dual paraboloid environment maps #78

Closed walbourn closed 4 years ago

walbourn commented 4 years ago

EnvironmentMapEffect supports cubic environment maps only with an optional Fresnel effect.

Here I've added support for both spherical environment maps and dual-paraboloid environment maps.

Also converted the bool parameters for NormalMapEffect, EnvironmentMapEffect, and PBREffect into EffectFlags.

walbourn commented 4 years ago

The PR for updating the test suite is here

walbourn commented 4 years ago

Same changes for EnvioronmentMapEffect made to DX11 in this PR