I have waded through the limited forum search, and found a couple of individual examples, but I was just wondering if there is a consolidated help file somewhere that details how to implement each of the DarkShader shaders in DBPro.
I.e. A list somewhere of what arguments need to be manually passed to the shader from within your code.
The 'export all' generated dba code only loads the object and shader, and blindly applies the effect to the object, more often than not resulting in a black object.
The help file included with dark shader does point out that some shaders need you to manually add code to make the shader work, but short of examining the shader file and then trying to figure out what you need to pass, there is no real indication of what additional code is required to make a shader work (and if you understand enough shader code to decipher what you need for yourself, then dark shader itself is of limited value!)
Some of the shaders are commented (to an extent), especially indicating where different techniques etc are available, but there isn't much about actually using the shader.
I have managed to work out most of them on my own, but there is still one that is messing with me, shaders that can accommodate multiple lights. e.g. The cartoonobject shader, which can accommodate up to eight lights. Even using a single light, i have tried to pass the position and color vectors to the shader, as both a direct vector and vector element, and no matter what shader technique is used, the result is nothing more than a highly convoluted means of achieving ambient shading
Not on my dbpro computer till later, so will attempt to post the code showing what I mean then
This is not the sig you are looking for....