Api: questions about the 3d materials

Created on 15 Jun 2018  路  2Comments  路  Source: Bungie-net/api

Would it be possible to provide some info on how to render the web api 3d materials/textures?
1) How are the dye colors and textures merged? Is there some blend mode applied to them?
2) what do 4 values arrays in the material_properties parameters (in the dye info) mean?
3) how do the flags in the renderMeshes parts affect the rendering of the model/texture?

question

Most helpful comment

  1. The GDC talks say they are based on Photoshop blend modes to make it easier for artists to build and debug assets. I obviously don't know have the actual code they use but I've written some functions based on stuff I found online. (see "Blend Functions" https://github.com/lowlines/three-tgx-loader/blob/master/src/three.tgxmaterial.js)
  2. This is likely just a product of how it gets stored in binary for performance. I only know what the albedo ones are for (PBR).
  3. Please can an expert from Bungie answer this question! I'd like to know this as well! 馃憖

All 2 comments

Paging @lowlines to aisle 536!

  1. The GDC talks say they are based on Photoshop blend modes to make it easier for artists to build and debug assets. I obviously don't know have the actual code they use but I've written some functions based on stuff I found online. (see "Blend Functions" https://github.com/lowlines/three-tgx-loader/blob/master/src/three.tgxmaterial.js)
  2. This is likely just a product of how it gets stored in binary for performance. I only know what the albedo ones are for (PBR).
  3. Please can an expert from Bungie answer this question! I'd like to know this as well! 馃憖
Was this page helpful?
0 / 5 - 0 ratings