Exemplo n.º 1
0
    void Start()
    {
        candelassrr = MainCamera.GetComponentInChildren <CandelaSSRR>();
        BaseObject.GetComponent <Renderer>().material = mat1;
        tablecolor        = BaseObject.GetComponent <Renderer>().material.color;
        currentMatID      = 0;
        currentObjID      = 0;
        lastVisibleObject = obj1;

        matinfo1 = "Material Based Roughness. A roughness map is applied to the specular map";
        matinfo2 = "Material Based Reflection Masking. Also includes a roughness map applied to the specular map";
        matinfo3 = "Demonstrating Normal Maps, Increase roughness via the left slider & Select HQ Blur to see the difference with a more rough material";
        matinfo4 = "Demonstrating Bumped Cubemap Reflections mixed with SSRR, Physically Accurate Blending mode will mask (occlude) Cubemap reflections";         //cubemap

        materialDescription = matinfo1;
    }
 void Awake()
 {
     cdla        = (CandelaSSRR)target;
     candelalogo = Resources.Load("CandelaLogo", typeof(Texture2D)) as Texture2D;
 }
Exemplo n.º 3
0
 void Start()
 {
     candelassrr = MainCamera.GetComponentInChildren<CandelaSSRR>();
 }
Exemplo n.º 4
0
 void Awake()
 {
     cdla = (CandelaSSRR)target;
     candelalogo = Resources.Load("CandelaLogo", typeof(Texture2D)) as Texture2D;
 }
Exemplo n.º 5
0
 void Start()
 {
     candelassrr = MainCamera.GetComponentInChildren <CandelaSSRR>();
 }