Created
September 6, 2022 04:01
-
-
Save matthewjberger/5b7fc22645eace339b96ba0a913d3d42 to your computer and use it in GitHub Desktop.
cool shader effect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@fragment | |
fn fragment_main(in: VertexOutput) -> @location(0) vec4<f32> { | |
return vec4<f32>(0.2, sin(in.position.x), 0.5, 1.0); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment