Merge pull request #7607 from stevoisiak/archive-dead-url
Replace dead 'oreillynet' url with Wayback Machine archive
This commit is contained in:
commit
9e2694cd60
|
@ -1,5 +1,5 @@
|
||||||
// Anaglyph Red-Cyan luma grayscale shader
|
// 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()
|
void main()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
void main()
|
void main()
|
||||||
{
|
{
|
||||||
float4 c0 = Sample();
|
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);
|
float avg = (0.222 * c0.r) + (0.707 * c0.g) + (0.071 * c0.b);
|
||||||
SetOutput(float4(avg, avg, avg, c0.a));
|
SetOutput(float4(avg, avg, avg, c0.a));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue