I’m having a hard time getting some shader running.
First, I did not find any documentation other then
which states there are already integrated shaders, supposed to be documented in the manual - but where ?
I went on to search the forums but couldn’t find any “How to enable shaders in c++” tutorial - apparently everyone just knows. So I checked the sample apps which do contain code like
self.filters = CommonFilters(base.win, base.cam)
but trying to locate that strange class “CommonFilters” turned out to be difficult as there is none - at least not with the C++ header files. I could only find a python script in /direct/filter which defined that class. Then again, that won’t do in C++ unless I use it to write my own shader - which I don’t want.
I also found the ShaderGenerator class but I’m not sure what to make of it and I don’t want to include/use code for which I don’t have any idea how it works or what it is supposed to do - making debugging a real pain.
I’m getting the feeling C++ users are supposed to write their own shaders - always. Now, I just want some simple shader so I can see edges in a pile of “marbles” which are all the same color. I really do not want to have to learn how to write shaders. Is there any tutorial/documentation/helper class/etc. which I did not see ?