Latest Release: v1.5.3
Heads Up
I am no rendering expert, just a complete hobbyist who happened to develop a deep interest for shaders and graphics programming because of two things, Teardown, and Acerola.
Consequently, this also means that the shader might be lacking some necessary optimizations and other features. If you wish for more features to be added, or have an eye for possible optimizations on how the shader could be better in any way, please feel free to contribute on my GitHub repository as this project is open-source and is open for contribution.
NOTE: This program utilizes Roblox’s beta feature EditableImage, meaning that this cannot be used by published games for the meantime.
The shader can run virtually any shader program that can run on Shadertoy, and porting is relatively easy due to their code structuring being similar.
If you wish to test the abilities of this shader, you can use the sample shader program provided, which are also ports of pre-existing shader programs in Shadertoy . Alternatively, you can go view the showcase below, albeit please beware that the video results are not of great quality due to compression and conversion.
Features the shader provides:
- The ability to interlace your renders
- Partial re-implementation of GLSL functions (no swizzling tho)
- Multithreading
- Multiple buffers
- A culling system for programs that are displayed on
SurfaceGui
s orBillboardGui
s
Features that are planned to be implemented:
- Make rendering go more brr
- Input channels
Showcase
All video footage are from a laptop with an 11th Gen Intel i3 Core, and 8 GB of RAM
*The footage is actually a bit more smoother an less grainier live than in video
Voxel Shader
ported from @Xor on Shadertoy
180 by 120 pixels, with dual interlacing by the factor of 2
avg. 40-45 FPS
Voxel Tunnel
ported from @Elsio on Shadertoy
180 by 120 pixels, with dual interlacing by the factor of 2
avg. 24-27 FPS (Not so bad!? )
Shader Art
ported from @kishimisu on Shadertoy
180 by 120 pixels, with dual interlacing by the factor of 2
avg. 40-45 FPS
Gravity Sucks
ported from @mrange on Shadertoy
180 by 120 pixels, with dual interlacing by the factor of 2
avg. 25-30 FPS (ohh?! )
Resources
Learn about the latest release: v1.5.3
Learn how to use the module here: RbxShader Tutorial
Learn about the API Change that happened in v1.4.1
This shader also utilizes @Ethanthegrand14 's CanvasDraw module v4.1.1.b, lots of thanks to him for provide such a wonderful resource!
You can download the shader by going to the GitHub repository and downloading the latest release. I do not expect this resource to be of use to a lot of people as of now. But at most I hope I can attract some shader nerds like me or really clever individuals (possibly you?) in making this project grow and mature. Thanks for reading, lovelots!