ogre-next icon indicating copy to clipboard operation
ogre-next copied to clipboard

Add Alpha Tested Shadows sample

Open darksylinc opened this issue 5 years ago • 1 comments

Not only this is requested by some users, there are multiple edge cases we must ensure don't break:

  1. Simple diffuse map alpha tested
  2. Diffuse map alpha tested, but sampler state is not N°0, thus we must use multiple samplers with different addressing modes (i.e. use wrap for diffuse, clamp for normal maps?). 'well, in d3d11 the trick to provoke it is to have the sampler block that should be used for caster pass with an id greater to at least one of the other sampler blocks of the material'
  3. Detail maps are used
  4. Detail normal maps are used, they should not affect alpha tested shadows
  5. Diffuse / Detail maps are used, but transparency from textures is ignored

darksylinc avatar Dec 16 '20 16:12 darksylinc

Related to #163

darksylinc avatar Dec 17 '20 15:12 darksylinc