Jump to content

Auxiliary Anti-Aliased Rendering


photo

Recommended Posts

Posted

Would it be technically possible - by modification of our UNIGINE source code - to activate anti-aliasing also for auxiliary render pass (e.g. by creating auxiliary buffer texture as multi-sampled) ?

 

We would like to combine auxiliary texture and screen texture within composite shader, but auxiliary aliasing causes artifacts especially at fine edges (e.g. roads)

 

post-82-099995500 1289404163_thumb.jpg

Posted

@UNIGINE

 

Any short comment if this is technically possible ?

Posted

Auxiliary buffer has multisampled format but composite shader samples only first sample of auxiliary buffer. We can have access to all auxiliary samples under modern OpenGL or Direct3D10+. Light scattering shader uses same approach.

Try this attached file. This modification will be available in next SDK update also.

fragment_composite.shader

Posted

This modification will be available in next SDK update also.

 

thanks Alexander, very good !

×
×
  • Create New...