How r3v1z3/shadertoy2zge works
• User Input → Shadertoy Code
• User Input → Variable Definitions
• User Input → Metadata (Title, Author)
• Code Parser → Variable Extraction
• Template Engine → Code Integration
• Variable Processing → Uniform Generation
• Processed Code → ZGE Project File
• Download Generation → User Download
Key Processing Modules (Use nested components)
a. Variable Processor
• ZGE Prefix Detection
• Range Extraction
• Separator Detection
b. Shader Transformer
• Texture Call Replacement
• iChannel Mapping
• Uniform Declaration Generation
• Delta Time Processing
• Texture Handling
• Parameter Generation
• Range Normalization
Frontend interface at the top, showing the user interaction point.
2. Processing core in the center, with clear connections to both input and output.
Specific labels
• "Shadertoy Input"
• "ZGE Project Output"
• "Variable Processing"
• "Template Integration"
Technical details in notes
• GLSL shader support
• Texture2D mapping
• Uniform variable handling
• Parameter range processing