{"repo":"drinkthestars/shady","free":true,"listed":false,"github":"https://github.com/drinkthestars/shady","clone":"git clone https://github.com/drinkthestars/shady.git","description":"A collection of AGSL shaders rendered in Jetpack Compose","language":"Kotlin","stars":169,"topics":["android","jetpack-compose","kotlin","shaders","agsl","sksl","creative-coding","noise","textures"],"license":"MIT","category":"mobile-apps","readme_excerpt":"🕶 Shady Shady is a gallery of AGSL shaders showcasing runtime shader effects in Jetpack Compose, image texturing with shaders, and customizable/animated shader capabilities. These shaders range from entertaining to practical, suitable for standalone effects or as a foundation for generative art and visualizations. Some shaders are ported from Shadertoy or adapted from GLSL, while others originated in SkSL and were slightly modified for AGSL. - - - Getting Started - Prerequisite: Android 13 (API 33) device - Clone and build the project - Explore the shaders and experiment with them in your own projects! RuntimeShader s Pre-Android 13 devices can use pre-built shaders like BitmapShader or LinearGradient , while Android 13 and above can use programmable RuntimeShader s written in AGSL. These allow you to create GPU level effects without the need for direct OpenGL programming. You can declare the shader as a string and benefit from basic syntax highlighting in the IDE by annotating the field with @Language(value = \"AGSL\") : To create the RuntimeShader , simply pass the shader into RuntimeShader 's constructor: Alternatively, pass the string directly into RuntimeShader : In this case IDE highlighting for the shader code remains intact because the constructor internally specifies @Language(value = \"AGSL\") . Uniforms In the world of shaders, uniforms are global variables that act like bridges between the CPU and GPU. They're used to pass data to the GPU during rendering and are cal","default_branch":null,"files":null,"tree":[],"storefront":"/r/drinkthestars","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/drinkthestars/shady/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}