adjust CRT Shader
This commit is contained in:
parent
ddd0fdff22
commit
16004c33c0
6 changed files with 27 additions and 14 deletions
|
@ -8,7 +8,7 @@ uniform sampler2D screen_texture : hint_screen_texture;
|
|||
|
||||
// ブラウン管のガラスの曲がり具合(フラットなやつは0.0でいいかな)
|
||||
uniform float crt_curve : hint_range( 0.0, 1.0 ) = 0.02;
|
||||
// 走査線の濃さ
|
||||
// 走査線の濃さ
|
||||
uniform float crt_scan_line_color : hint_range( 0.0, 1.0 ) = 0.347;
|
||||
// 光量
|
||||
uniform float aperture_grille_rate : hint_range( 0.0, 1.0 ) = 0.4;
|
||||
|
@ -18,7 +18,7 @@ uniform float rf_switch_esque_blur : hint_range( 0.0, 1.0 ) = 1;
|
|||
uniform float white_noise_rate : hint_range( 0.0, 1.0 ) = 0.0;
|
||||
|
||||
float random( vec2 pos )
|
||||
{
|
||||
{
|
||||
return fract(sin(dot(pos, vec2(12.9898,78.233))) * 43758.5453);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue