supertuxkart / stk-code

The code base of supertuxkart
Other
4.36k stars 1.03k forks source link

Iris texture, a decal projected over the sclera of the eye. #5022

Open ZAQraven opened 2 months ago

ZAQraven commented 2 months ago

Why need this?

https://github.com/supertuxkart/stk-code/assets/79313756/e35952c8-9096-4a46-8417-7e60a7399d19

How does it work? Iris texture will act as a translucent decal that is projected over the eye mesh and travelled around it. To control the Iris texture can use bone such as eye_l and eye_r. The bone will be not used as skinning mesh.

Reference: