Fallback to forward-only rendering when scene view is in wireframe mode #94

merged 1 commit into from Jan 11, 2017


None yet

2 participants

aras-p commented Jan 11, 2017

Our current way of doing wireframe in the scene view hijacks pixel shader to output wire color into RT0. However that leaves other buffers in deferred shading unwritten or zeroes, so lighting that later results in basically nothing.

So fallback to forward-only rendering when we detect we're in wireframe.

@sebastienlagarde sebastienlagarde merged commit bea795f into master Jan 11, 2017
@sebastienlagarde sebastienlagarde deleted the fix-wireframe branch Jan 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment