doesnt render from in game camera only scene view
Closed this issue · 2 comments
grimtin10 commented
i have no idea whats wrong
SanielX commented
Yeah this repo is really old
Anyway, you might want to try next thing
In DeferredDecalRenderer.cs
Add following code:
void OnEnable() => Camera.onPreRender += RenderDecals;
void OnDisable() => Camera.onPreRender -= RenderDecals;
Then change Update() method definition to be RenderDecals(Camera cam)
And then remove this line
var cam = Camera.current;
This should basically make decals render on every camera
grimtin10 commented
that fixed it! thanks