public void Load(ShaderManager shaderManager, string shaderPath)
        {
            _shaderIndex = shaderManager.AddShader(shaderPath);

            _shader = shaderManager.GetShader(_shaderIndex);

            _shaderManagerReference = shaderManager;
        }
예제 #2
0
        private void Load(ShaderManager shaderManager, string shaderPath)
        {
            //"Shaders/Deferred/DeferredPointLight"

            _shaderIndex = shaderManager.AddShader(shaderPath);

            _pointLightShader = shaderManager.GetShader(_shaderIndex);

            _shaderManagerReference = shaderManager;
        }