to update the code of cnmr.gbuffer
This commit is contained in:
parent
86fc166bf1
commit
ee52ad23ae
@ -36,6 +36,7 @@ SET(ULRE CMCore
|
||||
spirv-cross-core
|
||||
SPIRV
|
||||
glslang
|
||||
OGLCompiler
|
||||
${JSONCPP_LIBRARY}
|
||||
${RENDER_LIBRARY}
|
||||
${Vulkan_LIBRARIES})
|
||||
|
@ -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]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user