In the latest push to master, I have added support for texmap. By default textures are found in the folder "textures".
For other placements, the options parameter "idToTextureUrl" can be set. This is a function that takes a texture name and returns the location of the texture file.
Please see the following examples:
sample_texmap_opaque.htm
sample_texmap_trans.htm
sample_texmap_inline.htm
The only existing limitation is the physical render where I am limited to how textures are mapped onto standard materials. This causes the textures to 'wrap to edges', rather than just cutting off:
For other placements, the options parameter "idToTextureUrl" can be set. This is a function that takes a texture name and returns the location of the texture file.
Please see the following examples:
sample_texmap_opaque.htm
sample_texmap_trans.htm
sample_texmap_inline.htm
The only existing limitation is the physical render where I am limited to how textures are mapped onto standard materials. This causes the textures to 'wrap to edges', rather than just cutting off: