Applying jit.gl.model's @material_mode 3 material for jit.gl.mesh after various processing from jit.gl.model @matrixoutput.
mirrorboy
Jun 01 2023 | 5:29 pm
I'm amazed by the recent advancements in gl-core and am currently exploring the possibilities of Jitter.
The PBR shaders generated internally by jit.gl.model seem to have different specifications than jit.gl.pbr. I was unable to achieve the beautiful PBR rendering shown in @material_mode 3 when re-compositing with jit.gl.mesh.
I tried to get the material dict from jit.gl.model and reapply it with jit.gl.material or jit.gl.pbr. I also attempted to reapply the shader code outputted from jit.gl.model using get_shader to jit.gl.shader, but I was not successful.
Is the process described in the title even feasible?
I appreciate your assistance.
Max Patcher
In Max, select New From Clipboard.
In Max, select New From Clipboard.


Model : https://github.com/KhronosGroup/glTF-Sample-Models