Skip to content

Commit

Permalink
Merge branch 'release/0.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
caewok committed Oct 2, 2022
2 parents ee98235 + cb0a633 commit fa84870
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 0.1.1
Fix for issue #13 (applying elevation data to limited vision).

## 0.1.0
Substantial performance improvement by using meshes instead of sprites for the vision los and fov. Partial compatibility with Perfect Vision---shadows in lighting is working but shadows in vision are not. Does not throw errors when initially loading Perfect Vision. Improvements to handling automated elevation changes.

Expand Down
2 changes: 1 addition & 1 deletion scripts/ShadowShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export class ShadowShader extends PIXI.Shader {
if ( inShadow ) {
discard;
} else {
gl_FragColor = vec4(0.0, 0.0, 0.0, depthElevation);
gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0);
}
}
`;
Expand Down

0 comments on commit fa84870

Please sign in to comment.