Skip to content

Commit

Permalink
Merge pull request #269 from AnalyticalGraphicsInc/processModelMateri…
Browse files Browse the repository at this point in the history
…alsCommon-fix

`processModelMaterialsCommon` fix
  • Loading branch information
lilleyse committed Apr 26, 2017
2 parents 80913b9 + a50a005 commit a8a0cc6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Change Log
==========

### 0.1.0-alpha13 - ??
* Fixed a bug in `processModelMaterialsCommon` that produced out-of-spec technique states.

### 0.1.0-alpha12 - 2017-04-13
* Fixed issue with ambient occlusion not working correctly with other stages. [#267](https://github.com/AnalyticalGraphicsInc/gltf-pipeline/pull/267)
* Fixed handling of binary glTF with special characters. [#253](https://github.com/AnalyticalGraphicsInc/gltf-pipeline/pull/253)
Expand Down
2 changes: 1 addition & 1 deletion lib/processModelMaterialsCommon.js
Original file line number Diff line number Diff line change
Expand Up @@ -586,8 +586,8 @@ function generateTechnique(gltf, khrMaterialsCommon, lightParameters, optimizeFo
WebGLConstants.DEPTH_TEST,
WebGLConstants.BLEND
],
depthMask: false,
functions: {
depthMask : [false],
blendEquationSeparate: [
WebGLConstants.FUNC_ADD,
WebGLConstants.FUNC_ADD
Expand Down

0 comments on commit a8a0cc6

Please sign in to comment.