[Interest] [Qt3D] Custom texture loader and material shaders

Sean Harmer sh at theharmers.co.uk
Mon Mar 28 10:43:31 CEST 2016


Hi,

On 27/03/2016 23:53, Xavier Bigand wrote:
> Hi,
>
> Is there a way to add a loader for our custom texture format?
>
> We also have to use our existing shaders for materials, but I don't 
> know how to manage uniforms. We are generating our shaders based on 
> macros depending of the number and types of light sources,..., is it 
> possible to keep that?

Wrap it in an Effect. See the wireframe example for how to set custom 
uniforms (Parameter elements).

Cheers,

Sean

>
> -- 
> Xavier
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160328/3b4b45d9/attachment.html>


More information about the Interest mailing list