NVIDIA / Q2RTX

NVIDIA’s implementation of RTX ray-tracing in Quake II
Other
1.21k stars 180 forks source link

Always obtain sky color if reflection hit nothing #342

Closed res2k closed 8 months ago

res2k commented 8 months ago

This fixes sky not showing up behind transparent surfaces if pt_enable_nodraw is set to 1.

FWIW, I suspect that the found_intersection(...) check was there for a reason? Do you remember why and/or recall any scenarios when getting the sky color may look ugly?