[Bf-viewport] OpenGL refactoring tasks

Antony Riakiotakis kalast at gmail.com
Fri Dec 11 22:30:20 CET 2015


Handling it earlier means we get correct flat ngon normal support.


On 11 December 2015 at 22:10, Brecht Van Lommel <brechtvanlommel at pandora.be>
wrote:

> On Fri, Dec 11, 2015 at 9:55 PM, Mike Erwin <significant.bit at gmail.com>
> wrote:
> > For the GL_FLAT task do you mean the screen space derivatives in fragment
> > stage? I think it's better handled earlier in the pipeline, by using flat
> > interpolation and per-primitive normals. There needs to be some agreement
> > between a flat shader and the mesh data feeding it to get the right
> results.
>
> I think that if we can handle it in the fragment shader with
> derivatives, that would be the simplest solution? What would be the
> benefit of handling it earlier in the pipeline?
> _______________________________________________
> Bf-viewport mailing list
> Bf-viewport at blender.org
> http://lists.blender.org/mailman/listinfo/bf-viewport
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-viewport/attachments/20151211/c3a390d1/attachment.htm 


More information about the Bf-viewport mailing list