Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //[ THIS_FILE_IS[ SDF_018.IMAGE._ ] ]//
- /** ************************************************ ***
- *** ***
- *** Live Stream Of Me Working On This Code: ***
- *** ***
- *** ************************************************ ***
- twitch.com/kanjicoder
- *** ************************************************ ***
- *** ***
- *** SELF___________URL: tinyurl.com/SDF-018-IMAGE ***
- *** DOCUMENTATION__URL: tinyurl.com/SDF-018 ***
- *** SOURCE_CODE_BUFFER: tinyurl.com/SDF-018-BUFFER ***
- *** SOURCE_CODE__IMAGE: tinyurl.com/SDF-018-IMAGE ***
- *** LIVE__________DEMO: tinyurl.com/SDF-018-DEMO ***
- *** SETUP________VIDEO: tinyurl.com/SDF-018-SETUP ***
- *** ***
- *** ************************************************ **/
- //:INSTRUCTIONS:IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII://
- /** ************************************************ ***
- Click And Drag on the canvas to set pixels.
- *** ************************************************ **/
- //:IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII:INSTRUCTIONS://
- //:MACROS:MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM://
- #define IV2 ivec2
- #define V_4 vec4
- #define V_3 vec3
- #define V_2 vec2
- #define F32 float
- #define I32 int
- #define U32 uint
- //:MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM:MACROS://
- //:DATA:DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD://
- //:NO DATA
- //:DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD:DATA://
- //:FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF://
- //:FUNCTIONS:BELOW:____DO_NOT_INDENT____OUTER_SCOPE!!://
- //:FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF://
- void mainImage( out vec4 fragColor, in vec2 fragCoord )
- {
- IV2 f_c = IV2( I32(fragCoord.x - 0.5 ) ,
- I32(fragCoord.y - 0.5 ) );;
- V_4 c4d = texelFetch( iChannel0 , f_c , 0 );
- fragColor = c4d;
- }
- //:FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF://
- //:FUNCTIONS:ABOVE:____DO_NOT_INDENT____OUTER_SCOPE!!://
- //:FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF://
- //:MACROS:MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM://
- #undef IV2
- #undef V_4
- #undef V_3
- #undef V_2
- #undef F32
- #undef I32
- #undef U32
- //:MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM:MACROS://
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement