static AmbientOcclusionEffect() { Renderer.InvokeResourceDependent( () => { _noiseTexture = CacheableContentProvider <Texture> .Get("internal://textures/noise.png"); }); }
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"); }