Skip to content

Commit

Permalink
Dual signal tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
haxiomic committed Jun 23, 2019
1 parent a733656 commit 10094cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ class DualSignalTile extends SignalTile {
// this function returns the signal image given signal values from the texture
vec4 signalRGBA(vec4 textureSample) {
// uncomment the following line to see the raw signal data
return vec4(textureSample.rg, 0., 1.);
// return vec4(textureSample.rg, 0., 1.);
float signalAlpha1 = antialiasedSignalAlpha(textureSample.r);
float signalAlpha2 = antialiasedSignalAlpha(textureSample.g);
Expand Down Expand Up @@ -349,7 +349,7 @@ After running `parcel index.html`, you should see the following when visiting [`

npx parcel build index.html --public-url '.'

<img alt="Dual signal track demo" src="https://user-images.githubusercontent.com/3742992/49332258-e7112380-f5a1-11e8-8ff6-786a696a1859.png">
<img alt="Dual signal track demo" src="https://user-images.githubusercontent.com/3742992/59981120-2c0cae00-95f7-11e9-9d40-5c4785948c58.png">

[Live Demo](https://valis-software.github.io/valis-hpgv/examples/custom-track-dual-signal/dist/index.html)

Expand Down

0 comments on commit 10094cb

Please sign in to comment.