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

Numbers 1 to 1000000 with 4 kndonehundered m’s.

by matthewlin1013

Project thumbnail
View Project

Hoops & Yoyo: Little Gadgets! fixed!

by tonygamer1515games

Project thumbnail
View Project

Beat Up Shiny The Sunny Bunny (2)

by newmyles

Project thumbnail
View Project

Beat Up 1-Ball! [5]

by newmyles

Project thumbnail
View Project

【推しの子】B小町 / POP IN 2【MV short】

by harukana999

Project thumbnail
View Project

Scratch’s Whistle Occurence

by DuoEntertainment321

Project thumbnail
View Project

FIFA 23

by lamineyamal86

Project thumbnail
View Project

Windows 10 Crazy Error

by ItsFrezeyy

Project thumbnail
View Project

KLASKYKLASKYKLASKYKLASKY GUMMY BEAR SONG VERSION (FIXED) In Major 683

by Gummibar1212

Project thumbnail
View Project

Super Scratch Bros Beta 4.0 remix

by cr7bro333

Project thumbnail
View Project

3D迷路「初めてのレイキャスティング」

by yukku

Project thumbnail
View Project

Reglitcher 3D

by ggenije

Project thumbnail
View Project

triangle vortex (flashing color warning!)

by BrookAnd2021

Project thumbnail
View Project

Make your own scan! remix

by CRIPI666

Project thumbnail
View Project

37 new skins 2 player games

by harrisISPro

Project thumbnail
View Project

Among us || Episode 2: Black the Hacker

by sayguy120

Project thumbnail
View Project

東方妖々夢 Extra 霊夢 夢符Ver

by cosmo-zero

Project thumbnail
View Project

Beat up Hammer Mario 3: Add a button edition [1]

by ismiiboy

Project thumbnail
View Project

[My best?] 3___Art___3 Intro / Entry

by touhu16

Project thumbnail
View Project

AY to Beat Up Pinkfong (4)

by SodaSneaker

Project thumbnail
View Project

Evil tom and ben news remix-5

by megablocks04

Project thumbnail
View Project

Talking 2 And 4 News (A Numberblocks Game) v1.73 remix remix remix

by Diggerdog2023

Project thumbnail
View Project

Beat Up Quacker (99)

by everton_trader2

Project thumbnail
View Project

UAR: Ah's Original File Remake

by NoUserSoYeah