Skip to content

Commit

Permalink
Update dual signal live
Browse files Browse the repository at this point in the history
  • Loading branch information
haxiomic committed Jun 23, 2019
1 parent 10094cb commit f24cd4b
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 19 deletions.
26 changes: 26 additions & 0 deletions examples/custom-track-dual-signal/dist/App.1fbd2d4c.js

Large diffs are not rendered by default.

20 changes: 2 additions & 18 deletions examples/custom-track-dual-signal/dist/index.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,2 @@
<!DOCTYPE html>
<html>

<head>
<title></title>
<meta charset="utf-8">
<style>body {
margin: 0;
font-family: sans-serif;
}</style>
</head>

<body>
<div id="container"></div>
<script src="/App.79ff3e09.js"></script>
</body>

</html>
<!DOCTYPE html><html><head><title></title><meta charset="utf-8"><style>body{margin:0;font-family:sans-serif}</style></head><body> <div id="container"></div> <script src="App.1fbd2d4c.js"></script>
</body></html>
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,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

0 comments on commit f24cd4b

Please sign in to comment.