浏览代码

UNITY_INITIALIZE_OUTPUT defined to nothing in OpenGL ES iOS build which was causing graphics issues on iOS.

/vr_sandbox
Felipe Lira 8 年前
当前提交
96a96f65
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 3
      Assets/LowEndMobilePipeline/LowEndMobilePipeline.shader

3
Assets/LowEndMobilePipeline/LowEndMobilePipeline.shader


v2f vert(LowendVertexInput v)
{
v2f o;
UNITY_INITIALIZE_OUTPUT(v2f, o);
v2f o = (v2f)0;
o.uv01.xy = TRANSFORM_TEX(v.texcoord, _MainTex);
o.uv01.zw = v.lightmapUV * unity_LightmapST.xy + unity_LightmapST.zw;

正在加载...
取消
保存