ellioman / Indirect-Rendering-With-Compute-Shaders

An example of drawing numerous instances using Unity3D, compute shaders and Graphics.DrawMeshInstancedIndirect with Frustum & Occlusion culling and LOD'ing.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Shadows working?

geometry opened this issue · comments

Hi,
This is an exciting project. I'm trying it out to render detail meshes on other meshes (transferred from a terrain).
The 'Enable Simple Shadows' option seems to have no effect in the sample scene.
I've tried disabling the scene view.
I'm using Unity 2018.2.18f1.
Thanks.

Heyhey,

That is weird. I'll try to take a look today/tonight and see if I accidentally created a bug there.
Will reply as soon as I know something.

Cheers,
Elvar

Howdy,
Sorry for the late reply, work plus Christmas stealing my time :)

I'm using Unity 2018.2.20f1 and toggling the simple shadows is working fine on my Mac.
Are you using a PC or Mac?

screenflow

Hi,
Likewise: apologies for the late response. I'm on a PC. I've tried it on a couple of different NVidia and an AMD card, all fairly high-end with up-to-date drivers. I guess Mac users don't have these kinds of problems whereas we're used to weird stuff on PCs.
image
I'll dig about a bit to see if I can find the problem...but don't hold your breath!

Steve

Interesting, There must be a mistake somewhere on my part. I willl download the project to my work computer (Windows 10 & NVidia card) tomorrow and see I can't reproduce it :)

I've just updated to 2018.3.1f1 and I have shadows!
image
I'll play around a little more until I'm happy. I'll retest your original distro without my fiddles and perhaps close this issue later today.
Hmmm.

image
My problem was quality settings and the Shadow Distance. I only realised when I saw that the occluders also had no shadow. Many thanks for your help. I look forward to seeing what's possible.
image

Haha that's great :)

Awesome, hope you find this pet project of mine useful.