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

Beat up Nano (1)

by ptv_23

Project thumbnail
View Project

Secret staycation how to get America cheese with holes 4x

by coopstar_white3

Project thumbnail
View Project

Beat Up Granny (9)

by GooleSharty122

Project thumbnail
View Project

Beat up Edward | Game/Interactive

by Wills123Fan

Project thumbnail
View Project

Me??//????//

by --TH3C0D3R--

Project thumbnail
View Project

free sprunki 1996 update

by zyie54545

Project thumbnail
View Project

Toopy and Binoo: Welcome to the Cookie Kingdom! DVD Menu Beta Version 1.0

by Eternal_Sugar_C00kie

Project thumbnail
View Project

Chocolate Clicker

by AdityaRaj6

Project thumbnail
View Project

Super Mario Bros. for Scratch

by BirdNani

Project thumbnail
View Project

Ghost Castle - a Game - v1.3 #games

by chipm0nk

Project thumbnail
View Project

Windows Boot Options

by windows9000jb

Project thumbnail
View Project

AMONG YOU [SKELD MAP]

by RD4UO

Project thumbnail
View Project

FNF ⇒Accelerant⇐ [HARD]

by shadowmask1234

Project thumbnail
View Project

Beat up Windows Vista (Add a button)

by is44c128_nolastgame

Project thumbnail
View Project

Beat up the Racoon Family V50

by CLAX1212

Project thumbnail
View Project

nick jr logo 2002 RARE

by chasetheTVOkidskid

Project thumbnail
View Project

Super Mario Bros. Maker 2

by logray

Project thumbnail
View Project

YouTube V4.7

by CVirus2011

Project thumbnail
View Project

夏のプラットフォーマー summer platformer

by KARAAGEP

Project thumbnail
View Project

[Update in instructions] Phantomverse OPs

by thehackingstuff

Project thumbnail
View Project

talking tom and ben news remix-2 rom corruption

by onikindasus

Project thumbnail
View Project

Super Tumble Glitchy Run | スーパータンブルグリッチラン (v1.2) | #all #games #trending #art #music

by MunaAlaneme4th

Project thumbnail
View Project

Harry's "The Future is Ruined" song 1 minute extended

by paumung2021

Project thumbnail
View Project

Interactive Lego Pieces PART 2! V10

by Alex136YT