Welcome, Guest.
Username: Password: Remember me

TOPIC: Integrate these fixes?

Integrate these fixes? 1 year 8 months ago #1

  • lowenz
  • lowenz's Avatar
  • Offline
  • Posts: 158
  • Thank you received: 15
Interesting stuff for DX8 wrapper (born to fix a problem with Splinter Cell 2):

When taking advantage of shadowmap textures supported since GeForce 3, there is a difference between DirectX8 (used by the game) and DirectX9+ in how the API expects the Z/W value at input of the texture sampler with shadowmap texture. For DirectX8 the application is supposed to provide the value in <0;2^bitdepth-1> range where the bitdepth is bit depth of the depth texture. For all other APIs the value is expected to be as <0;1>. For more info see here. It seems that starting with some version of the driver or HW, the DirectX8 path no longer comply with the original behavior and instead expects the DirectX9+ behavior.

www.vogons.org/viewtopic.php?f=8&t=41443&start=60

www.jiri-dvorak.cz/scellpt/
The administrator has disabled public write access.
The following user(s) said Thank You: klotim

Integrate these fixes? 1 year 8 months ago #2

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2446
  • Thank you received: 1388
Sounds good.
Cheers, crosire =)
The administrator has disabled public write access.