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

Jumper (Platformer)

by Depicklator

Project thumbnail
View Project

omega flowey alt V2

by joshuacs5

Project thumbnail
View Project

Endless monsters will scramble Fanta, Amazon MP3, and BelTV (1999-2005) Logos

by sickrick02

Project thumbnail
View Project

Beat up Cubesgreenking! 2024 1.6

by SamiSamantaG

Project thumbnail
View Project

The Worlds Hardest Game

by jonesrmj

Project thumbnail
View Project

Stereotypical Bathroom

by lightbulbbrain

Project thumbnail
View Project

Beat Up Lim's good brother Tim

by DUCKSV2

Project thumbnail
View Project

Windows 8 build 7997 crazy error maker

by Areo7Royale

Project thumbnail
View Project

Making a noise at night☠️#animations #all #music #stories

by -Alpha_Toons-

Project thumbnail
View Project

Pac & Pal / Pac-Man & Chomp Chomp (Arcade 1983): Sprites and Sounds

by ThePac-GhostFan2010

Project thumbnail
View Project

Grow a Garden clicker

by SCRATCHMASTERSUS

Project thumbnail
View Project

High Noon ALPHA [Deltarune fangame]

by MR_ANT_T3NNA

Project thumbnail
View Project

SPRUNKED IS PRE FINAL

by estupendo3

Project thumbnail
View Project

heart

by shachar

Project thumbnail
View Project

Funk Simulator, Abrasive (Spong)

by Bron0x

Project thumbnail
View Project

Pac-man Game #games #all [Unfinished]

by -The_GACC-

Project thumbnail
View Project

Diamond Lifts Ergo Wheelchair Elevators

by DiamondLiftsfen

Project thumbnail
View Project

小湊鐵道キハ200ドア開閉機構

by 04280gametetudou

Project thumbnail
View Project

endless alphabet stampede

by Ilikecolorsnumbers

Project thumbnail
View Project

[UTSA] Undertale: Promised OST

by InkerBackup

Project thumbnail
View Project

Numberblocks Intro But It's THOO Style remix remix

by xiomi0209Angel1923

Project thumbnail
View Project

ultimate character night

by ComicCreatorLabs171

Project thumbnail
View Project

Beat Up The Vegan (CMbridge's version) V20

by ChermayeffTesting

Project thumbnail
View Project

chase saw game

by arribalabanana