pistolshrimpgames / ProceduralPlanet

Procedural planets with Three.js
Do What The F*ck You Want To Public License
7 stars 4 forks source link

Add custom code for jewel-type planets (Emerald, Ruby, Sapphire) #17

Closed crocodele closed 1 year ago

crocodele commented 1 year ago

Related to https://github.com/pistolshrimpgames/ProceduralPlanet/issues/11.

This PR adds some customizations for jewel-type planets (Emerald, Ruby, and Sapphire Worlds):

All changes should be backwards-compatible, so previously generated seeds should yield the same planets as before.

Emerald:

emerald

Ruby:

ruby

Sapphire:

sapphire

Changing the lighting gives the planets a jewely glow:

emerald-glow

These planets don't have quite the marble look that the concept art has, but it's a step towards something like it. Perhaps someone else (or future me) can come up with a better fragment shader configuration. Additional planet details could help too.