File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1022,12 +1022,6 @@ uniform highp mat4 world_transform;
10221022uniform highp uint instance_offset;
10231023uniform highp uint model_flags;
10241024
1025- /* clang-format off */
1026-
1027- #GLOBALS
1028-
1029- /* clang-format on */
1030-
10311025#define LIGHT_BAKE_DISABLED 0u
10321026#define LIGHT_BAKE_STATIC 1u
10331027#define LIGHT_BAKE_DYNAMIC 2u
@@ -1268,6 +1262,12 @@ layout(location = 0) out vec4 frag_color;
12681262
12691263#endif // !RENDER_MATERIAL
12701264
1265+ /* clang-format off */
1266+
1267+ #GLOBALS
1268+
1269+ /* clang-format on */
1270+
12711271vec3 F0(float metallic, float specular, vec3 albedo) {
12721272 float dielectric = 0.16 * specular * specular;
12731273 // use albedo * metallic as colored specular reflectance at 0 angle for metallic materials;
You can’t perform that action at this time.
0 commit comments