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 me (16)

by everton_trader2

Project thumbnail
View Project

sols rng 300 rolls a second simulation

by R4gn4r0k

Project thumbnail
View Project

Coptic Alphabet Dance (cause why not) remix

by Seankalnizki

Project thumbnail
View Project

Beat up me (3) remix

by jayjayy1809

Project thumbnail
View Project

Knuckles' Theme S3 - Sonic the Hedgehog 3 and Knuckles

by robloxmaster45

Project thumbnail
View Project

(New Update) Talking Tom and Ben News Brawl Stars EDITION V1.0 remix

by HarrisT2016

Project thumbnail
View Project

むずすぎるファイブボンバー

by Reimerak

Project thumbnail
View Project

Talking Tom 2010

by sona000000

Project thumbnail
View Project

Super Sonic Maker 4 but with DR EggMan

by -JacksonTheHedgehog-

Project thumbnail
View Project

POKéMON Scene Creator v.8

by oskie

Project thumbnail
View Project

Super Sonic maker

by brantleywillam

Project thumbnail
View Project

Дуэль монстров (ИС-23 на Рандозии ) [1]

by YellowCat2012

Project thumbnail
View Project

Unfair Clicker Game

by AwezomeXD

Project thumbnail
View Project

[Bulls & Cows] 숫자 야구

by walker_60734

Project thumbnail
View Project

Argamblocks - Counting Down from Kent!

by KJRichardson2009

Project thumbnail
View Project

Cut the rope level editor Mod Version 1.0.1

by OudomProMax

Project thumbnail
View Project

Do you ever look at someone and wonder...

by TheRedOrzu2

Project thumbnail
View Project

l Intro >> gineppi

by Xx_-star-_xX

Project thumbnail
View Project

Beat up an apple (1.1.5)

by catsarereal1233

Project thumbnail
View Project

Beat Up BonziBB Buddy Remastered

by tdcoding12

Project thumbnail
View Project

[AY] Beat up the Wingdings face (for fun) [2]

by newmyles

Project thumbnail
View Project

[43] Help Leafy get past the Dream Island.

by TheScryingBanter

Project thumbnail
View Project

Beat Up Spiffy Pictures FINAL

by kokosha123

Project thumbnail
View Project

Wszystko było up Olek32167xv! Game 5

by Olek32167xv