Replace dead 'oreillynet' url with Wayback Machine archive

This commit is contained in:
Steven M. Vascellaro 2018-12-04 14:39:56 -05:00
parent 2c57e709d0
commit 32a5bb2fb4
2 changed files with 2 additions and 2 deletions

View File

@ -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()
{

View File

@ -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));
}