6 ms·
Yep. There's a billion and a half reasons you wouldn't use full-blown path tracing for games. It'll always perform worse regardless of what you do, the frame bu
by Tobba_ 9y ago
Yep. There's a billion and a half reasons you wouldn't use full-blown path tracing for games. It'll always perform worse regardless of what you do, the frame budgeting is likely going to be a total nightmare, the tree search you need to trace rays requires too much branching to map well to GPUs (it's perfectly possible, just another absolute nightmare as your complexity goes up), console GPUs are (and have always been) extremely underpowered in terms of compute (but good with textures), etc.
Limited uses? Sure. Otherwise hell no. It's never been more than a gimmick GPU vendors use to show off (in real-time, offline rendering is something else entirely).
- bhouston 9y agoMaybe GPU vendors will offer specialized spatial look up trees or something .
- Tobba_ 9y agoTo clarify: that's more of a problem in programming the GPU in a portable manner, and that may or may not turn into a problem depending on the implementation. GPUs can do loops that run a different number of times per thread just fine, at the cost of having to wait for the slowest to finish. Things start to turn sideways if you want diverging branches though (at least AMD kind of has support for this, but it's limited). If you want animations to work there's a good chance your search would become pretty complicated and you run the risk of smacking into that. Also, I doubt GPU vendors would add special-purpose hardware like that. They'd much rather just add some new shader instructions to help doing it.
- monocasa 9y ago> Also, I doubt GPU vendors would add special-purpose hardware like that. They'd much rather just add some new shader instructions to help doing it. The PowerVR guys added special purpose hardware for doing spatial lookups for raytracing.
- zamalek 9y agoAnd it's awesome.[1] Getting shadows right for the specifics of a game is a nightmare; balancing shadow acne and performance. Just being able to do one-size-fits-all shadows on desktops would be a major step forward. [1]: https://www.imgtec.com/blog/ray-traced-shadows-vs-cascaded-shadow-maps/ https://www.imgtec.com/blog/ray-traced-shadows-vs-cascaded-s...
- Tobba_ 9y agoFor reference, VSM/4MSM are a set of shadow mapping techniques that don't suffer from acne, at the cost of suffering from bleeding problems that also need biasing. Shadows are probably one of the places where raytracing makes a lot of sense though. It's one of few shadow rendering techniques that don't blow a ton of precious fillrate, and it shouldn't take too many rays.