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

if Endless Alphabet OC was an app

by splashyideas

Project thumbnail
View Project

Make Your Own BFDI/BFB remix-4

by BlueN10

Project thumbnail
View Project

Beat up kirby clone! | 0.09

by feldspar767

Project thumbnail
View Project

Big Ben Clock (with mechanism).

by AlvinSpongebob

Project thumbnail
View Project

random colors

by pjranimate

Project thumbnail
View Project

abc song in 25 languages..

by imakerandomstuff1001

Project thumbnail
View Project

hickory dickory dock (crossover)

by ROAR0831

Project thumbnail
View Project

mmomjvm nu f

by kenji8888

Project thumbnail
View Project

Nickelodeon creatures text engine 2.0

by siddharth1717

Project thumbnail
View Project

New oc: Snowy

by Local_Megurine_Luka

Project thumbnail
View Project

WHO AM EYE 3

by eggyman

Project thumbnail
View Project

THE TRIOS SQUABB[bad time trio]undertale fan game

by parsley134

Project thumbnail
View Project

Naruto , Naruto shipuden , Boruto generique

by deadruto

Project thumbnail
View Project

SPIFFY.EXE BUTTONS EXE Scary

by kari1213

Project thumbnail
View Project

cuphead E3 golfsierra1 map

by golfsierra1

Project thumbnail
View Project

Alphabet Lore (A-Z) scratch edition (Part 1)

by Nayje123

Project thumbnail
View Project

Way of the Ninja

by Will_Wam

Project thumbnail
View Project

Haunted Animatronics Fanmade Jumpscares

by NICERIOBEDO

Project thumbnail
View Project

γ€β˜Onlineγ€‘γ†γ•γŽγ¨ηŒŸηŠ¬ / Rabbit And Hounds

by yoanz

Project thumbnail
View Project

色々γͺγ“γ¨γŒθ΅·γγ‚‹γƒ—γƒ©γƒƒγƒˆγƒ•γ‚©γƒΌγƒžγƒΌ mean's platformer where things happen

by kinnkou

Project thumbnail
View Project

Robot Destructor Server For Competition

by THE_MEEP111

Project thumbnail
View Project

SCRATCHX.RAR REBOOTED 1.5 TEASERS!! | WRATH CAT, NANARD, BROKEN GUIDELINES TURBO MIX AND MORE!!!

by Goldenpixels

Project thumbnail
View Project

Scratch marching band BT21 remix-3

by rafakadafi

Project thumbnail
View Project

Super Mario Odyssey super Broken [remix]

by StanislawZ2013