Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
I've been in the process or rewriting MOSAIC's shader's to better handle large amounts of parameter data from Blender's material controls and have run into an issue with Pixie's shader compiler :-(
I've elected to pass related sets of Blender control data in arrays through shader parameters, this has resulted in rather large arrays. The parameter thats giving me trouble is passing 250 varying floats containing 25 material settings for 10 textures. This technique seems to work fine in 3Delight, Air, and Aqsis.
Is there a limit on the size of arrays passed through a parameter or is this a bug?
Thanks in advance,
Eric Back (WHITeRaBBiT)
Yes, there's a limit. I've added a patch to the tracker that removes the number of parameters and increases a preprocessor limit that I hit with another shader.
It works great, many many thanks Roine!!
I had decided to continue shader testing and development with the other renderer's until I found the time to track this down in Pixie's source myself later, however it would of taken several days (at least) just to figure out where to begin... this has saved me a lot of time and trouble :-)
Eric Back (WHiTeRaBBiT)