Hi,
I’m using Cinder on MacOS and getting unexpected results when using getAssetPath
.
According to this page when calling getAssetPath( "shaders/cellular.frag" )
I’m expected to get in return the path .../MyProject/assets/shaders/cellular.frag
.
However what I’m getting back is something more complicated from the build package: .../MyProject/xcode/build/Debug/FadingWaves.app/Contents/Resources/assets/shaders/cellular.frag
Any idea why that’s happening? It’s causing me problems because I’m attempting to use this in combination with fs::last_write_time
to be able to live edit and auto reload my shaders. However it seems the one I’m editing from my assets folder is not the one that is actually being watched.
Thanks a lot for the help