Yes, you are on the right track. If you want to use normal maps, then you need to sample in pixel shader. You can find code for evaluating irradiance using given normal in the DXSDK samples (Samples\C++\Direct3D\IrradianceVolume/SHIrradianceEnvMap.fx).
Krzysztof NarkowiczMember Since 13 Aug 2010
Offline Last Active Today, 01:46 AM
- Group Members
- Active Posts 25
- Profile Views 1,064
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown
Krzysztof Narkowicz hasn't added any contacts yet.