Open TheKucel opened 4 months ago
Hi TheKucel, I suspect that the error may be related to this line: Occludes = RTHandles.Alloc("_OccludesMap", name: "_OccludesMap") If possible, use the obsolete version. The solution will be updated after Unity 6 receives LTS.
Unfortunately not, RTHandles doesn't support Init
method (which is used in original code)
It was moved to RTHandles, because some of functions cause errors
Hi, i tryied to add this to unity 6 project, and firstly it's said that a lot of stuff is Obsolete, and after trying to refactor a bit (cuz i can't say that i 100% sure what i'm doing) got this 2 errros
CODE ---
using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.Rendering; using UnityEngine.Rendering.Universal;
namespace Plugins.VolumetricLightScattering.Runtime { public class VolumetricLightScattering : ScriptableRendererFeature { public enum ColorSpaceEnum { HDR, Default, }
}