<div dir="ltr">Thanks Brecht!<div><br></div><div>Please someone familiar with smoke shaders jump on that task. It&#39;s the only thing in Blender that uses the old ARB programming API (pre GLSL).</div><div><br></div><div>For the GL_FLAT task do you mean the screen space derivatives in fragment stage? I think it&#39;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.</div><div><br></div><div>Yes for immediate mode and matrix stacks; I&#39;ll report progress here.</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">Mike Erwin<br>musician, naturalist, pixel pusher, hacker extraordinaire</div></div>
<br><div class="gmail_quote">On Fri, Dec 11, 2015 at 3:37 PM, Brecht Van Lommel <span dir="ltr">&lt;<a href="mailto:brechtvanlommel@pandora.be" target="_blank">brechtvanlommel@pandora.be</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
For developers who want to get involved in OpenGL refactoring, there<br>
are a couple of pretty well defined tasks to be done, listed here:<br>
<a href="http://wiki.blender.org/index.php/Dev:2.8/Source/OpenGL/Shaders#Tasks" rel="noreferrer" target="_blank">http://wiki.blender.org/index.php/Dev:2.8/Source/OpenGL/Shaders#Tasks</a><br>
<br>
* Add stipple support to basic GLSL shader<br>
* Port smoke shader to GLSL<br>
* Implement texture paint multitexture masking shader in GLSL<br>
* Optimize basic GLSL shader<br>
* Add test .blend covering most GLSL material features<br>
* Add LOD bias in GLSL basic shader for icon drawing<br>
* Add glShadeModel(GL_FLAT) support in GLSL shaders (using dFdx / dFdy?)<br>
<br>
I can help you get started and review patches if you want to work on<br>
one of them.<br>
<br>
The implementation of the shader API design proposal I&#39;ll try do<br>
myself in the next couple of weeks, though I&#39;m happy to leave it to<br>
someone else if there are volunteers. Once that&#39;s done there will be<br>
another set of tasks to replace fixed function shaders throughout the<br>
Blender code.<br>
<br>
Mike, as I understand it you will work something out for the immediate<br>
mode replacement and the matrix stack designs, and we&#39;ll wait a bit<br>
for that to be ready for others to get involved in?<br>
<br>
Thanks,<br>
Brecht.<br>
_______________________________________________<br>
Bf-viewport mailing list<br>
<a href="mailto:Bf-viewport@blender.org">Bf-viewport@blender.org</a><br>
<a href="http://lists.blender.org/mailman/listinfo/bf-viewport" rel="noreferrer" target="_blank">http://lists.blender.org/mailman/listinfo/bf-viewport</a><br>
</blockquote></div><br></div>