soo, came problem after updating xcode 7.1 beta 2 ( well, didn't work before ). before had piece of metal shader took apple samples ( metaldeferredlighting ):
struct fragoutput { float4 albedo [[color(0)]]; float4 normal [[color(1)]]; float depth [[color(2)]]; float4 light [[color(3)]]; };
and when use color output/input doesn't work, after updating xcode 7.1 beta 2 got following error on os x:
fragment shader parameter attribute 'color' supported on ios (requires -std=ios-metal1.[0][1])
in xcode 7.0 beta didn't work, got black screen.
is there way make frame buffer ( render targets ) work on osx?
Comments
Post a Comment