Replies: 2 comments
-
First reason: in the ubershader's xxx.mat.in, do not use |
Beta Was this translation helpful? Give feedback.
0 replies
-
Bug found, my new material specular.mat.in forget to parse metallic roughness map, so get default value. Parsing that part makes the jit and uber aligned. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
So I am working on support for
KHR_material_specular
in filament and seems working when I test in gltf_model_viewer with jit mode. Then If I provide the tool with-u
to enable ubershader, The appearance of the model looks different.I notice the diffuse term calculation in jitshader and ubershader seems to be the issue. I am curious what would leads to different code path between ubershader and jitshader?
Since ubershader is compiled and compressed, is there a trick I can take a look of the final lit shader source before it gets into the
libshades.a
?Thanks for your help.
Beta Was this translation helpful? Give feedback.
All reactions