QMaterial with just a rhi technique
Unsolved
Game Development
-
Hello! I'm developing a 3D application and I need to write a custom material. If I write the shaders for opengl 3.3, it works, but if I write it just for RHI, it doesn't work. And I can tell is not my shader. How? well, try this:
Open the "Simple custom material"(the red square) and in SimpleMaterial.qml comment all the techniques, except the RHI one. You'll see that nothing gets drawn, just the background.I really, really would like to write for the RHI, but If I have to write for both ogl3.1 and rhi, makes no sense. Is there anything else i am missing?
Thanks in advance!