|
|
@ -47,14 +47,16 @@ varying vec4 SpecularSum; |
|
|
|
uniform sampler2D m_ColorRamp; |
|
|
|
uniform sampler2D m_ColorRamp; |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
uniform float m_AlphaDiscardThreshold; |
|
|
|
uniform float m_AlphaDiscardThreshold; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
varying vec4 lightVec; |
|
|
|
|
|
|
|
varying vec4 spotVec; |
|
|
|
|
|
|
|
|
|
|
|
#ifndef VERTEX_LIGHTING |
|
|
|
#ifndef VERTEX_LIGHTING |
|
|
|
uniform float m_Shininess; |
|
|
|
uniform float m_Shininess; |
|
|
|
|
|
|
|
|
|
|
|
#ifdef HQ_ATTENUATION |
|
|
|
#ifdef HQ_ATTENUATION |
|
|
|
uniform vec4 g_LightPosition; |
|
|
|
uniform vec4 g_LightPosition; |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
varying vec4 lightVec; |
|
|
|
|
|
|
|
varying vec4 spotVec; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef USE_REFLECTION |
|
|
|
#ifdef USE_REFLECTION |
|
|
|
uniform float m_ReflectionPower; |
|
|
|
uniform float m_ReflectionPower; |
|
|
|