troika-3d-text
Advanced tools
Comparing version 0.27.0 to 0.27.1
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.27.1](https://github.com/protectwise/troika/compare/v0.27.0...v0.27.1) (2020-06-05) | ||
### Bug Fixes | ||
* **troika-3d-text:** fix shader error when casting shadows from text ([0c9277d](https://github.com/protectwise/troika/commit/0c9277d3b53b8becb4bcab7f8f3b66ebfbc48963)) | ||
# [0.27.0](https://github.com/protectwise/troika/compare/v0.26.1...v0.27.0) (2020-06-02) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "troika-3d-text", | ||
"version": "0.27.0", | ||
"version": "0.27.1", | ||
"description": "Troika 3D Text", | ||
@@ -30,3 +30,3 @@ "author": "Jason Johnston <jason.johnston@protectwise.com>", | ||
}, | ||
"gitHead": "964d4105d8fca15525459c3322351801c772dd9d" | ||
"gitHead": "163be9c1f8bf6b0976ccf75b2e94fe880d8f7ee2" | ||
} |
@@ -45,3 +45,2 @@ import { createDerivedMaterial, voidMainRegExp } from 'troika-three-utils' | ||
normal = uTroikaOrient * normal; | ||
vTroikaGlyphColor = uTroikaUseGlyphColors ? aTroikaGlyphColor / 255.0 : diffuse; | ||
` | ||
@@ -133,3 +132,6 @@ | ||
if (!uDiffuseRE.test(vertexShader)) { | ||
vertexShader = vertexShader.replace(voidMainRegExp, 'uniform vec3 diffuse;\n$&') | ||
vertexShader = vertexShader.replace( | ||
voidMainRegExp, | ||
'uniform vec3 diffuse;\n$&\nvTroikaGlyphColor = uTroikaUseGlyphColors ? aTroikaGlyphColor / 255.0 : diffuse;\n' | ||
) | ||
} | ||
@@ -136,0 +138,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2006606
35586