Newer
Older
BlackoutClient / Assets / LightHelper.cs
@Mark Mark on 31 Jan 2020 406 bytes Try new lighting stuff
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class LightHelper : MonoBehaviour
{
    public Texture LightAtten;
    // Start is called before the first frame update
    void Start()
    {
        Shader.SetGlobalTexture("_LightTexturePoint", LightAtten);
    }

    // Update is called once per frame
    void Update()
    {
        
    }
}