Extended Loader base class to handle normal map materials.
Plus some more Loader changes: - fixed diffuse color and opacity being skipped when diffuse texture is present in JSON - more proper handling of Phong materials (now use ambient / diffuse / specular / shininess from JSON) - added handling of wrap / offset / repeat parameters for all textures Fixed broken multiple lights indices in new normal map shader and changed displacement scale and bias to saner values. Fixed broken postprocessing and Earth examples (were not yet translated to use new normal map shader).
Showing
因为 它太大了无法显示 source diff 。你可以改为 查看blob。
想要评论请 注册 或 登录