It is Shader demo project. I have used AGSL RuntimeShader to create different shaders. ie. Image Shader, Custom effect shader etc.
- Kotlin
- AGSL Shader API
- Jetpack Compose
CustomShaders.1.mp4
-
Usage : https://developer.android.com/jetpack/compose/graphics/draw/brush https://shaders.skia.org/?id=2bee4488820c3253cd8861e85ce3cab86f482cfddd79cfd240591bf64f7bcc38
-
Shaders example: https://shaders.skia.org/?id=2bee4488820c3253cd8861e85ce3cab86f482cfddd79cfd240591bf64f7bcc38
You can contribute this project. Just Solve issue or upd ate code and raise PR. I'll do code review and merge your changes into main branch. See Commit message guidelines https://initialcommit.com/blog/git-commit-messages-best-practices
Copyright 2024 Kaushal Vasava
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Kaushal Vasava