Are there any good resources on the Metal Shading Language? Like how to write a shader, not just "Here are all the data types!! Huzzah!"
-
-
@warrenm Do we have any examples of shaders? There are a lot of GLSL shaders in things like GPUImage, but I don't know how to find examples. -
@RedQueenCoder GLSL has the benefit of having been around about 10 years longer than MSL ;) Just not as much there yet. -
@warrenm Well I will have to rectify that now, won't I?? ;) -
@RedQueenCoder Yes plz -
@warrenm Again, thanks for at least letting me know this is poorly documented so people at my conference don't just think I'm lazy or dumb.
End of conversation
New conversation -
-
-
@warrenm My understanding is that the sample code from Apple is understandably limited and I am not sure if anyone else picked it up or not. -
@RedQueenCoder We don’t go far enough in explaining our samples. Comments are tactical; missing big-picture motivation and explanation. -
@warrenm You can't do everything. It's understandable. I just wanted to make sure I wasn't missing anything obvious. :)
End of conversation
New conversation -
-
-
@warrenm So one question I have with this is the vertex shader's method signature constant or does it change?pic.twitter.com/ki8eAjOwYq
-
@RedQueenCoder You basically add one parameter for each different resource you need to read or write, plus the “built-ins” like vertex id - End of conversation
New conversation -
-
-
@warrenm I would like to know what things I need to feed my shaders to get them to give me what I want back. I need more context. -
@RedQueenCoder I think I understand. The translation from GLSL->Metal can be done via rote translation, but the mapping isn’t imm. obvious.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.