-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metal support #2
Comments
Thanks so much for the quick response! I'm really new at this fancy shader stuff, but I found this discussion over here with this snippet. I reading the Disk shader it looks to me that I'd do the combination in the geometry phase in https://forums.developer.apple.com/thread/4818
|
That thread in the Apple forum is not relevant to Unity. Please ignore it. That's almost meaningless for this case. I've implemented a non-geometry shader variant of the disk shader in compute-2 branch. I rejected this variant because it's not performant compared to the original (geometry shader). I've verified that it works on Metal, so, I should rethink about it. It's not performant but useful for compatibility. |
Oh perfect. That’ll get me where I’m going with this demo. Thank you! |
Metal doesn't have geometry shader. It has to be emulated by using compute + procedural indirect draw.
The text was updated successfully, but these errors were encountered: