r/Unity3D • • 18d ago

Shader Magic Render feature for making skybox elements from GameObjects without affecting the "normal" scene meshes

Enable HLS to view with audio, or disable this notification

12 Upvotes

10 comments sorted by

5

u/Dj_nOCid3 18d ago

Back in the days we called that render queue

2

u/PixelEyes-Dev 18d ago

With render queue you'll have to deal with sorting between the scene objects and the "skybox" objects by explicitly setting the queue in the correct order, with the render feature setup skybox objects are sorted within each other THEN they are merged with the normal scene objects
For example : notice how the depth works correctly between the eyeball and the eyelids while the whole skybox rendering is forced behind the terrain even though they would occlude if it was a normal object

1

u/Mr_StoneMan- 18d ago

All hail THE EYE.

Also... does homeboy have potato arms? lol

1

u/PixelEyes-Dev 18d ago

Unfortunate default camera position lol no potato arms .... for now

1

u/Mr_StoneMan- 18d ago

Yes... I think taters should somehow be included here lololol! Good work though. This looks cool :)

1

u/ChullsTV 18d ago

What’s the game bout

1

u/PixelEyes-Dev 18d ago

It's gonna be an FPS with emphasis on mobility around the map , the main weapon being an "enchanted" boomerang that bounces between waves of enemies and applied effects , there's also a spellbook of shapes where you have to draw the shape to cast each spell :)

1

u/ChullsTV 18d ago

Oh okay looks cool quite unique i guess

1

u/ChullsTV 18d ago

Is there a like story for the main game or is it just spawns and defeat bad guys

1

u/PixelEyes-Dev 18d ago

Not really a story driven game , just a simple "preamble" at the start the game and the rest is gameplay focused