Original Post
🔒 Locked
d3d z-buffer
Advertisement
Use depth format D3DFMT_D16_LOCKABLE or D3DFMT_D32F_LOCKABLE.
[edited by - namethatnobodyelsetook on August 5, 2003 1:48:19 PM]
[edited by - namethatnobodyelsetook on August 5, 2003 1:48:19 PM]
If you try to access the z-buffer, you''re not guarenteed:
1.) access. Some cards won''t allow you to get to it
2.) the correct data. Sometimes you''ll get random data.
And sometimes it may work, but don''t depend on it. So your best bet would be to find another solution to your problem without locking the z-buffer.
1.) access. Some cards won''t allow you to get to it
2.) the correct data. Sometimes you''ll get random data.
And sometimes it may work, but don''t depend on it. So your best bet would be to find another solution to your problem without locking the z-buffer.
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement