sigtrapgames / VrTunnellingPro-Unity

Plug-and-play VR comfort for Unity.
http://www.sigtrapgames.com/vrtp/
MIT License
179 stars 21 forks source link

Shader error with Metal #1

Open citizen12 opened 6 years ago

citizen12 commented 6 years ago

I'm using VRTP with Unity 2018.2.15, running on macOS Mojave, targeting Android from my MacBook Pro. I am getting the following errors when I try to run in the Unity editor on my MBP:

Metal: Error creating pipeline state (Hidden/VrTunnellingPro/Skysphere): fragment shader color output does not have enough components for the pixel format (MTLPixelFormatBGRA8Unorm) (null) Metal: Error creating pipeline state (VrTunnellingPro/Cage/Opaque Fogged): fragment shader color output does not have enough components for the pixel format (MTLPixelFormatBGRA8Unorm) (null) Metal: Error creating pipeline state (Hidden/VrTunnellingPro/Tunnelling): fragment shader color output does not have enough components for the pixel format (MTLPixelFormatBGRA8Unorm_sRGB) (null)

Works fine if I disable the VRTP component.

sigtrapgames commented 6 years ago

Thanks for the report. I should be able to fix this relatively easily although it won't be for a few days!

SixWays commented 5 years ago

I've made some changes on the dev branch to try and fix this, but can't test directly as I've not got a (modern) mac. If you're able to test and see if it's fixed that'd be really helpful.

citizen12 commented 5 years ago

Looks like your fixes worked, but TunnelingVertext is still erroring.

Metal: Error creating pipeline state (Hidden/VrTunnellingPro/TunnellingVertex): fragment shader color output does not have enough components for the pixel format (MTLPixelFormatBGRA8Unorm) (null)

On Mon, Nov 19, 2018 at 10:06 AM Dr Luke Thompson notifications@github.com wrote:

I've made some changes on the dev branch to try and fix this, but can't test directly as I've not got a (modern) mac. If you're able to test and see if it's fixed that'd be really helpful.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sigtrapgames/VrTunnellingPro-Unity/issues/1#issuecomment-439987702, or mute the thread https://github.com/notifications/unsubscribe-auth/AMGR-8OM6AjKnvIA_hdtzZGVziM_xDWgks5uwvMwgaJpZM4YYkcD .

-- James Osborne citizen12 studio http://www.citizen12.com

ROBYER1 commented 4 years ago

Should this issue now be closed?