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

When You Lie About Your Age

by -RobloxAnimations

Project thumbnail
View Project

Angry Birds Maker

by RandomSuperMarioFan

Project thumbnail
View Project

Tetris - The Grand Master (Scratch Edition)

by oggyGaming2007

Project thumbnail
View Project

Stack!

by TheDipler

Project thumbnail
View Project

3D car 車

by lIIIIl

Project thumbnail
View Project

Old Version Terraria Modded (Stamped)

by TerrariaMods

Project thumbnail
View Project

HAPPY B DAY outro for dark

by AcidFX

Project thumbnail
View Project

パステルカラーオンライン棒人間アスレ‼

by 1sukuratti

Project thumbnail
View Project

銃撃戦オンライン

by taiyaki525

Project thumbnail
View Project

Geometry Dash Vector Sprites

by Yoshi_Coder

Project thumbnail
View Project

The Ultimate Universe Size Comparison of the 2020's Part 2: 1 Planck Length - 1 ym

by JARETurn

Project thumbnail
View Project

clorful clone cat!!

by kotarho

Project thumbnail
View Project

Neon || 100% Pen Platformer

by jburrito75

Project thumbnail
View Project

Bob-omb Battlefield 3D 0.9.3 (with texture blurring !)

by AntoineTelgruc2

Project thumbnail
View Project

東方風弾幕 百人斬~鈴仙編~【モバイル・キーボード】

by gigirugarudo

Project thumbnail
View Project

❆ All I Want For Christmas Is You ❆ Complete Christmas PAW Patrol MAP ❆

by T-bros-coding

Project thumbnail
View Project

HERO! ink!sans fight [DEMO] phase1

by bouningen-kun

Project thumbnail
View Project

Do the earthquake meme template

by ChaseJ15

Project thumbnail
View Project

Scratch Brawl 2

by KillerByte

Project thumbnail
View Project

Add yourself/your oc singing Musical Memory (remake)

by _KapiFNF_

Project thumbnail
View Project

【SDGs games】LETS, 海の魚を守ろう!

by UOVJ

Project thumbnail
View Project

Minicar Racing ミニカーレーシング

by asagonscar

Project thumbnail
View Project

HOW TO MAKE YOUR OWN PEN TEXT ENGINE

by ThePenDude

Project thumbnail
View Project

Angry Birds-Make Your Own Levels

by jupster123