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

Sean Harmer sh at theharmers.co.uk
Mon Mar 28 10:45:51 CEST 2016


Hi,

sorry, forgot to reply to the texture part.

On 27/03/2016 23:53, Xavier Bigand wrote:
> Hi,
>
> Is there a way to add a loader for our custom texture format?

I think you can use the functor approach exposed by 
QAbstractTextureProvider or QAbstractTextureImage.

Cheers,

Sean

>
> 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?
>
> -- 
> 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/f008a2c1/attachment.html>


More information about the Interest mailing list