3d Terrain Raycaster v1.1

3d Terrain Raycaster v1.1

by Howtomakeausername

👁 6,429 ❤️ 301 ⭐ 241 🔄 15
Created: Nov 2, 2020 Last modified: Jun 13, 2022 Shared: Nov 6, 2020

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

Project thumbnail
View Project

add a button to beat up nano!! (13)

by gulkd2023

Project thumbnail
View Project

Beat up Chikn remix remix

by jayjayy1809

Project thumbnail
View Project

Funny Typing Starter ABC

by wongzy_1234

Project thumbnail
View Project

Everyone fights bad users and EXE Characters and bad logos Add round 3

by MarkRK2006

Project thumbnail
View Project

TALKING TOM AND BEN NEWS CHRISTMAS 2023 remix

by Cwks20092

Project thumbnail
View Project

PBS 1998 ピンキッツ (Pinkfong) ident

by KawaiiFongStudio

Project thumbnail
View Project

beat up RobloxFan75000

by lukemanolopoulos8

Project thumbnail
View Project

Plants vs Zombies

by CHEEZ_WHIZZ

Project thumbnail
View Project

Cuphead The Howling Aces Full Boss Fight -- Archive

by vmagnanicarchive

Project thumbnail
View Project

Bruh

by llya2023

Project thumbnail
View Project

Talking Tom & Ben News [City Version]

by gofonday2020

Project thumbnail
View Project

<3 [ CLOSED freebies day 5 ]

by cornerstone-

Project thumbnail
View Project

Country City Band 14

by Speed-Booster3457

Project thumbnail
View Project

Numberblocks 864,864 Jumpscare

by CasegPaags

Project thumbnail
View Project

Wee wook pew an hau we wew

by azoriad

Project thumbnail
View Project

World's Hardest Tank Game

by -FoxStopStudios-

Project thumbnail
View Project

プロジェクトハカイ ゴールド(スマホ可)

by hanngousuihann

Project thumbnail
View Project

Peppa Pig gets grounded 1.0

by TheMarioDudeGames

Project thumbnail
View Project

Sunshine 2 || A platformer

by FreezingGlacier

Project thumbnail
View Project

Super Mario Bros. 3 EX: The Adventures Of Goomba And Koopa

by booboo1007

Project thumbnail
View Project

ItIS 11: This can't be the end... surely we can afford 9?

by ScratcherStar4000

Project thumbnail
View Project

Nintendo XL

by BlazeArnav

Project thumbnail
View Project

Windows 11.EXE Buttons 2nd D Reboot

by Quesadillamix

Project thumbnail
View Project

◉LIVE 2025 OnlyUp!

by ryugen0719