共 4 篇文章 |
|
float2 EncodeFloatRG (float v)Forward rendering helper functions in UnityCG.cginc.These functions are only useful when using forward renderingA rendering path that renders each object in one or more passes, depending on lights that affect the object.Computes object space direction (not normalized) to light, given obje... 阅65 转0 评0 公众公开 19-05-08 16:36 |
Unity.UNITY_MATRIX_MVP.UNITY_MATRIX_MV.UNITY_MATRIX_T_MV.Light parameters are passed to shaders in different ways depending on which Rendering PathThe technique Unity uses to render graphics.unity_4LightPosX0, unity_4LightPosY0, unity_4LightPosZ0.x is cos(spotAngle/2) or –1 for non-spot lights; y is 1/cos(spotAngle/4... 阅135 转0 评0 公众公开 19-05-08 16:36 |