🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Latest DXR Activity
anyone pls
You can write your ray tracer with shaders in dx11 or opengl, or it can be implemented it in opencl.
But it will not use nvidias dedicated shader cores. But probably they will get thrown out eventually from the chip anyway due to the lack of interest.
It makes no sense to change an api for such…
Oh wow, that's wild! I'm glad you at least figured that out though.
I've wrote a ray tracing shadow shader before. (abbreviated as ShaderA)
And recently I wrote another ray tracing shader. (abbreviated as ShaderB)
I create ID3D12StateObject for both.
But hit group shader identifier is unique between each ID3D12StateObject.
My hit group data struct is like this:
| shader…
@LandonJerre WorldRayDirection() is giving same effects as using boolean payload. Problem was that perspective matrix had very short Z_NEAR and Z_FAR values (0.01f and 200.0f). By changing it to much higher range (10.0f, 20000.0f), problem with jaggies and artifacts disappears. Thank you for help.
What kind of primitives are you actually drawing when you use that vertex shader that decrements the counter? Depending on what you're drawing and how you're indexing it's possible that the VS is executing more times than expect, which would cause the counter to underflow.
Either way, this would pro…