- Adjust the settings as you wish at the beginning. - For Ray Density, more means less rays, and vice versa. This controls the degree of the angle between any two adjacent rays. - For "Show Sun Rays?", 0 is no and 1 is yes. - Click and drag the sun and the ball to adjust their positions. - When you are ready to render, click the check mark. - Turbo mode is highly suggested.
Note: May take more or less time to render based on the ray density, the position of the sun and the object, and your computer (doubtful, but possibly if you're running on a potato). Code written completely by me. By showing the sun rays, you should be able to understand (basically) how it works. The rays get messed up near the end, I am currently looking for a fix. - Only visible if you have sun rays shown. If a certain sun/ball arrangement does not work in any way, please provide a detailed description of what is happening, or if possible, a screenshot. I may be using this later on in games, so I want to know if it is properly functional. One thing I have noticed is that putting the sun in either corner causes it to not render. Sprite based: https://scratch.mit.edu/projects/116937026/ - Sorry for the slow render process, it's as fast as I could make it on scratch. Maybe try phosphorus?http://phosphorus.github.io/#115936211 EDIT: Never mind, phosphorus doesn't like vector textures, and when I changed them to bitmap, it freezes when I try to render it (I have a relatively powerful computer).