Skip to content

Environmental lighting - setting hdr map #202

Answered by ThomasGorisse
fukalhan asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

I have to duplicate the doc for each file loading functions but here are the infos about the fileLocation format.

/**
* ### Load a file content buffer from different sources
*
* The file location can be:
* - A relative asset file location *models/mymodel.glb*
* - An android resource from the res folder *context.getResourceUri(R.raw.mymodel)*
* - A File path *Uri.fromFile(myModelFile).path*
* - An http or https url *https://mydomain.com/mymodel.glb*
*
* @see okHttpClient
*/
@JvmStatic
@OptIn(E…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fukalhan
Comment options

Answer selected by fukalhan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants