RedHenDev / ursina_tutorials

MIT License
46 stars 66 forks source link

Less of an issue and more of an addition (maybe?) #20

Open ghost opened 1 year ago

ghost commented 1 year ago

Hi, I'm only on part 3 but it annoyed me how the terrain blended together so blandly, so I decided to implement shader support since Ursina comes with some prepackaged ones.

Writing custom shader code for the project, but experimented with the prebuilt ones from Ursina and got favorable results. Just used a temporary DirectionalLight entity to cast light so the lit_with_shadows_shader will do it's thing.

Will definitely post when I have a flawless version running.

Accidently made a celshading-type bi-product img1 img2

RedHenDev commented 1 year ago

This is awesome! So sorry that I hadn't seen it before now, buddy. Brilliant.