static AmbientOcclusionEffect()
 {
     Renderer.InvokeResourceDependent(
         () => { _noiseTexture = CacheableContentProvider <Texture> .Get("internal://textures/noise.png"); });
 }
Example #2
0
        private void SetTestMaps()
        {
            _irradRef = CacheableContentProvider <Cubemap> .Get(@"C:\Users\Dan\cmft_win64\irradiance.dds");

            _radRef = CacheableContentProvider <Cubemap> .Get(@"C:\Users\Dan\cmft_win64\radiance.dds");
        }