WASDQE keys to move Arrow keys and cursor (click and drag) to look around USE TURBOWARP: https://turbowarp.org/880079431
USE TURBOWARP: https://turbowarp.org/880079431 You may need to wait some time for it to load Video of this in TurboWarp: https://www.youtube.com/watch?v=16e-diGTDfg Just a simple test project I made today I actually used a plane mesh instead of a bunch of separate triangles to make it run faster and because of it I only had to calculate the height of each vertex once. The waves are made by adding lots of sine waves together using FBM (Fractional Brownian Motion). The specular highlights took like 8 hours to get working because one of the numbers I was using was negative when it should have been positive. The land is made by using a scaled version of the function used for the waves but the timer is removed so it doesn't move. The water has foam which is made by making the colour white and it only occurs near land. The water also has some depth-based colour so it is darker in deeper water. I might use a modified version of this for another terrain generator. I used my 3d engine but changed A LOT of it to work for this: https://scratch.mit.edu/projects/556759493/ @howtomakeausername for the z-clipping (I changed it a tiny bit), part of the lighting, and the triangle filler @maDU59_ for some of the optimisations. I put them in myself but most of them are in their project: https://scratch.mit.edu/projects/880256078/ I also added a few more myself and replaced the backwards (it was basically bubble sort but going in the other direction) bubble sort with insertion sort. How did @TimMcCool see this like less than 20 minutes after I shared it??? And why did he love and favourite it??????? Like it's literally just some triangles!! I'm blaming for this