Advertisement

How to force all objects to go into the graphics pipeline?

Started by March 16, 2018 03:05 AM
1 comment, last by swiftcoder 6 years, 10 months ago

If I had a scene in front of me, I want all objects of the scene to be rendered, that is to force all vertexes to go into the GPU / rendering pipeline by passing all vertex data into one of the Draw calls?
such as DrawIndexedPrimitive, DrawPrimitive, DrawIndexedPrimitiveUp and DrawPrimitiveUp. The problem being is that when some objects are occluded, the program doesn't care to pass them to over to the GPU, the other one is trivial, which involves the back face of it. Despite of the back faces, if I really want everything to be rendered, no matter it is occluded or not, how can I make this happen?
thanks
Jack

Turn off the depth test? GPUs don't really have an implicit understanding of "occlusion" apart from the depth buffer.

Tristam MacDonald. Ex-BigTech Software Engineer. Future farmer. [https://trist.am]

This topic is closed to new replies.

Advertisement