Permalink
Browse files

Merge pull request #7607 from stevoisiak/archive-dead-url

Replace dead 'oreillynet' url with Wayback Machine archive
  • Loading branch information...
delroth committed Dec 4, 2018
2 parents 2c57e70 + 32a5bb2 commit 9e2694cd60e99ce924561bdef75785ccebd8a2f0
Showing with 2 additions and 2 deletions.
  1. +1 −1 Data/Sys/Shaders/Anaglyph/grayscale2.glsl
  2. +1 −1 Data/Sys/Shaders/grayscale2.glsl
@@ -1,5 +1,5 @@
// Anaglyph Red-Cyan luma grayscale shader
// Info: http://www.oreillynet.com/cs/user/view/cs_msg/8691
// Info: https://web.archive.org/web/20040101053504/http://www.oreillynet.com:80/cs/user/view/cs_msg/8691
void main()
{
@@ -1,7 +1,7 @@
void main()
{
float4 c0 = Sample();
// Info: http://www.oreillynet.com/cs/user/view/cs_msg/8691
// Info: https://web.archive.org/web/20040101053504/http://www.oreillynet.com:80/cs/user/view/cs_msg/8691
float avg = (0.222 * c0.r) + (0.707 * c0.g) + (0.071 * c0.b);
SetOutput(float4(avg, avg, avg, c0.a));
}

0 comments on commit 9e2694c

Please sign in to comment.