PDA

View Full Version : Shader best performance ?


djdesmangles
01-11-2011, 10:26 AM
Hello,

Vizard offers at least two ways of using shaders:
1) By coding directly the GLSL shader in the python code;
2) By coding the shader inside a vizard dll.

Which solution is the best ?

viz.FOREVER !!!
D!

farshizzo
01-13-2011, 12:27 PM
Ultimately, the shader is uploaded and executed on the GPU, so there is no performance difference. In terms of development time, writing the shader within the Python script is much faster, so I would recommend that. I really see no reason for writing the shader code within a DLL.

djdesmangles
01-14-2011, 05:38 AM
Thanks Farshi !!!!

viz.FOREVER!!
D!