unity3d 镜面反射代码(Unity3d specular reflection code).docVIP

  • 110
  • 0
  • 约8千字
  • 约 16页
  • 2017-08-15 发布于河南
  • 举报

unity3d 镜面反射代码(Unity3d specular reflection code).doc

unity3d 镜面反射代码(Unity3d specular reflection code)

unity3d 镜面反射代码(Unity3d specular reflection code) Uinty3d mirror code Specular reflection code The file name MirrorReflection.cs Using UnityEngine; Using System.Collections; This is in fact just the / Water script from Pro Standard Assets, With refraction stuff removed. / / just [ExecuteInEditMode] Make mirror Live-update even when not / in play mode Public class MirrorReflection: MonoBehaviour { Public bool m_DisablePixelLights = true; Public int m_TextureSize = 256; Public float m_ClipPlaneOffset = 0.07f; Public LayerMask m_ReflectLayers = -1; Private Hashtable m_ReflectionCameras = new (Hash

文档评论(0)

1亿VIP精品文档

相关文档