Celestia icon indicating copy to clipboard operation
Celestia copied to clipboard

shaders should be read from the installation directory as a fallback

Open 375gnu opened this issue 1 year ago • 6 comments

Custom data providers (e.g. Celestia Origin) should not have shaders copies unless they they really want custom shaders.

375gnu avatar Feb 28 '23 20:02 375gnu

Probably makes sense to support separate locations for the stuff in content and the rest of it (shaders, fonts). Would make it easier to run the application from a Git checkout.

ajtribick avatar Feb 28 '23 22:02 ajtribick

for git checkout you can pass --dir option.

375gnu avatar Mar 01 '23 08:03 375gnu

There's no argument to --dir that works in the Git checkout without either copying fonts and shaders into content, or copying the various data/extras/extras-standard/etc. directories from content into the main repository.

ajtribick avatar Mar 01 '23 11:03 ajtribick

got your point

375gnu avatar Mar 01 '23 12:03 375gnu

i think the way to close this bug is to add an extra parameter representing the installation dir to initSimulation. and then shader files can be read first from current dir and then fallback to installation dir.

levinli303 avatar Aug 09 '23 04:08 levinli303

This sounds good.

375gnu avatar Aug 09 '23 07:08 375gnu