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

[拡散希望] 棒人間 マリオのonline stickman

by chiitaichi

Project thumbnail
View Project

Ninja Impostor Platformer ✨Mobile Friendly✨ #platform

by Grobbyy

Project thumbnail
View Project

Beat Up Spiffy Pictures Super Ulimate Extreme remix remix remix remix remix remix remix remix remix

by siddharth1717

Project thumbnail
View Project

Scratcharia More Walls Mod

by Zippy02

Project thumbnail
View Project

Add yourself/your oc singing Monochrome but my plushy

by ksh1411

Project thumbnail
View Project

Type To Survive - Game - Mobile Friendly

by -Myths-

Project thumbnail
View Project

Numberblocks Band Retro 231-240 (Each Sound)

by Trioctoblock24

Project thumbnail
View Project

Super Luigi Maker 3

by cammie96

Project thumbnail
View Project

REVIRAVOLTA - Episódio #1

by Lala-Olivio

Project thumbnail
View Project

Warrior Project beat up hello neighbor! remix

by Lestat1025

Project thumbnail
View Project

edit a button to beat up bregions! (1)

by tatatino150again

Project thumbnail
View Project

Geometry Dash Luizero : The IVY 2021 Rap Battle(Ft. SMG4)

by Quantum4444

Project thumbnail
View Project

MY VYOND EFFECTS KIT (free to use) (more effects version)

by weef098

Project thumbnail
View Project

Beat up Nano ALL BUTTON!!!!!!!!!!!!!!!!!!!!!!!!!

by crazycrazybaby17

Project thumbnail
View Project

水槽からの脱出 【脱出ゲーム】

by shiharuha

Project thumbnail
View Project

(TW: frightening) Jr's Mangle fanart

by catdragon911

Project thumbnail
View Project

[建造物Mod]Paper Minecraft update!!!

by Oldcoinmania

Project thumbnail
View Project

Scratch++ 2.0 | A Programming Language

by marsmark

Project thumbnail
View Project

(DISCONTINUED) beat up evil scratch cat v1.5

by hyd3ns33k

Project thumbnail
View Project

Opening to Happy Tree Friends Fanon: Standing Out 2014 DVD remix

by Lainmb

Project thumbnail
View Project

Mario 3 Mayhem

by King_DDD_and_pokemon

Project thumbnail
View Project

Beat Up Martcallj! V0.7 / 17 Buttons

by mrKTCABerry

Project thumbnail
View Project

Greek/Coptic Alphabet Lore [V2+]

by elithepidude

Project thumbnail
View Project

Talking Santa (Outfit7 Limited)

by CharlieTheSteakLov