浏览代码

Fix issue to allow to build standalone player

- Fix issue with Mouse function no editor only
- Fix issue with instancing and meta pass
/main
sebastienlagarde 7 年前
当前提交
d6e7f268
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. 2
      ScriptableRenderPipeline/Core/CoreRP/MousePositionDebug.cs
  2. 2
      ScriptableRenderPipeline/HDRenderPipeline/HDRP/ShaderPass/ShaderPassLightTransport.hlsl

2
ScriptableRenderPipeline/Core/CoreRP/MousePositionDebug.cs


private Vector2 m_mousePosition = Vector2.zero;
#if UNITY_EDITOR
#endif
public void Build()
{

2
ScriptableRenderPipeline/HDRenderPipeline/HDRP/ShaderPass/ShaderPassLightTransport.hlsl


VaryingsToPS output;
UNITY_SETUP_INSTANCE_ID(inputMesh);
UNITY_TRANSFER_INSTANCE_ID(inputMesh, output);
UNITY_TRANSFER_INSTANCE_ID(inputMesh, output.vmesh);
// Output UV coordinate in vertex shader
float2 uv;

正在加载...
取消
保存