浏览代码

fix a bug causing bad rendering in standard shader.

/main
Filip Iliescu 8 年前
当前提交
70de8f67
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      Assets/ScriptableRenderPipeline/MobileRenderPipeline/ClassicDeferred/UnityStandardCore.cginc

2
Assets/ScriptableRenderPipeline/MobileRenderPipeline/ClassicDeferred/UnityStandardCore.cginc


UnityStandardDataToGbuffer(data, outGBuffer0, outGBuffer1, outGBuffer2);
// Emissive lighting buffer
outEmission = half4(emissiveColor*0.0, 1);
outEmission = half4(emissiveColor, 1);
// Baked direct lighting occlusion if any
#if (UNITY_ALLOWED_MRT_COUNT > 4)

正在加载...
取消
保存