Elektrine lite

← Feed

@frankiezafe@mastodon.gamedev.place

2026-05-10 15:29 UTC

@Niwl@mastodon.gamedev.place @YoSoyFreeman@mastodon.gamedev.place after running it, i have a question: i need to remove the ground part and adjust the shader to simulate a ellipsoidal space, more than an hemispherical one. any clue on the best way to approach this? i naively removed the "if (hits_ground) {", but that was not very successful...

Replies (1)

  • @frankiezafe@mastodon.gamedev.place @Niwl@mastodon.gamedev.place Can you explain to me what you mean with elipsoidal space? The planet is a ray_sphere intersection, so i guess you could try to modify that method using an elipsoidal space internally (So you don't have to correct ALL the parts when is used) That said, i can't guarantee how well it will work, it is honestly made under the assumption of a round planet

    Open ##2802199