
3d Terrain Raycaster v1.1
Description
Made completely by me :) although the original lighting scripts from @geotale's tutorial. So how does this work? It's actually really simple. Basically, there is a ray which moves forward a certain number of steps until the y position is below the height of the procedurally generated plane (gets a y-coordinate from the x and z position of the ray). Then I calculate the surface normal and do lighting and this happens! ^-^ Changelog: v1.1 - added actual grass textures Tags: #RAY #MADNESS #SHADER #3d #raycast #ray #cast #ray #trace #3d #open #world #textured #terrain #howtomakeausername #raytrace
Instructions
-Just a quick idea I had- Set the resolution and click the flag again to re-render. On turbowarp you can move in realtime using WASDQE and ARROW keys. Also, stop the program to see final render. Turbowarp link - https://turbowarp.org/444263092/fullscreen I apologise for it taking a while, but scratch is slow so it is expected. It has to raycast a large distance each pixel, so it isn't going to be fast.
Project Details
- Visibility
- Visible
- Comments
- Enabled
More Cool Projects

add a planet and remix!
by sherminator

Lonotomy Endless Alphated but i Remade it Bc Yea
by Appysmarts

Robot Destructor ☁ 1v1
by DreamiKitty

マイクラ1.17 撮影用 [マイクラMOD]
by soraem0n

JIMBO* [JIMROOMS!!] [1.5.2]
by 2dxyzzz

exponential idle t16
by 2048videos

FireMayro's Virtual Scratcher Debut
by FireMayro

Sub 1k Block 3D Challenge
by littlebunny06

ScratchOS - Surf (Windows 7 Areo Themes) *Abandoned*
by DaRender

Angry Birds maker
by Iamtreefrog4

Beat up Tera!
by scratchcatsonic

Beat up Edward (new buttons)
by Dylan_scienceboy

dots and death!
by Guzuv

Cake clicker bfdi
by AClassic_ScratchGuy

AnyU7's rng (V1.5.8)
by AnyU7

l Intro >> gineppi
by Xx_-star-_xX

Zoonoc Thee Hodgepog
by RealDarkNach0s

Beat Up The Chameleon remix
by jayjayy1809

I Hate G-Major 74 82 powers more!!!!!! remix
by juliescott12

Beat Up X Button
by crazycrazybaby17

Endless German Monster
by JBurgers87

3D HORROR GAME
by kapos207

Pokemon Battle test scratch
by J42

【猫meme】【猫ミーム】の素材 Scratchの中で多分ちょう多い!
by peint0405