to update the code of cnmr.gbuffer

This commit is contained in:
hyzboy 2020-02-01 23:38:30 +08:00
parent 86fc166bf1
commit ee52ad23ae
2 changed files with 3 additions and 5 deletions

View File

@ -36,6 +36,7 @@ SET(ULRE CMCore
spirv-cross-core
SPIRV
glslang
OGLCompiler
${JSONCPP_LIBRARY}
${RENDER_LIBRARY}
${Vulkan_LIBRARIES})

View File

@ -12,11 +12,8 @@
[attribute_to_gbuffer]
gb_color_metallic.rgb =BaseColor;
gb_color_metallic.a =Metallic;
gb_normal_roughness.rgb =Normal;
gb_normal_roughness.a =Roughness;
gb_color_metallic =vec4(BaseColor,Metallic);
gb_normal_roughness =vec4(Normal, Roughness);
[gbuffer_to_attribute]