simonbs,
@simonbs@mastodon.social avatar

Am I missing something obvious, or is Reality Composer Pro lacking documentation big time? Like, sure, this Shader Graph node gives me RGB values, but are they in the 0 - 255 range or the 0 - 1 range that UIColor and friends expect? 🤷‍♂️

schwa,
@schwa@mastodon.social avatar

deleted_by_author

schwa,
@schwa@mastodon.social avatar

deleted_by_author

  • Loading...
  • simonbs,
    @simonbs@mastodon.social avatar

    @schwa Thanks a lot for these links! I'll have to go through them to get a better understanding of what's going on here.

    Actually, I think what would help me the most in Apple's editor is some log or similar that lets me see the outputs of each node. That way I can experiment to see what's going on and better debug my shader.

    heckj,
    @heckj@mastodon.social avatar

    @schwa @simonbs May not be of interest or help, but I noted an interesting library to help assemble materialX shader graphs in swift code: https://github.com/praeclarum/ShaderGraphCoder (hat tip to @Migueldeicaza quite a few weeks ago) - doesn't help with RCP docs, but may offer another way to get to your goal.

    marcpalmer,
    @marcpalmer@iosdev.space avatar

    @simonbs in that specific case I would be very surprised if it was ever anything except floats all the way down, give how shaders work.

    simonbs,
    @simonbs@mastodon.social avatar

    @marcpalmer I see. So maybe this also has to do with my lack of understanding of shaders. Still, I think it's weird to have a function, nay, a node, and have it's input and output be so poorly "documented”.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines