So... is there easy way to use custom shader with g2 graphics? Or I need to implement my rendering on g4?
custom shader with g2
Just set a custom pipeline: http://api.kha.technology/kha/graphics2/Graphics.html#pipeline
Make sure your shaders have the same attributes and uniforms which are used by the original shaders (in Kha/Sources/Shaders).
Posts 3 • Views 1164