X0nk / Bliss-Shader

A minecraft shader which is an edit of chocapic v9
Other
529 stars 31 forks source link

Dynamic Shadows from blocks and/or entities #237

Open joshua-igor opened 3 months ago

joshua-igor commented 3 months ago

Describe the feature you would like to be added to the shader

Rethinking Voxels is a shader famous for being the only one for having a real-time variable penumbra shadow for blocks and entities like torches and the obsidian portal. Even held itmes have dynamic shadows. It does so by voxelizing the world in order to compute the shadows, since Bliss already have a voxelization for Floodlight, it might help with developing this feature. Rethinking Voxels hasn't been updated for 9 months now and counting so it would be a shame to have this feature being stuck to the past.

Popular youtuber AsianHalfSquat has demonstrated this shader on one of his videos: https://youtu.be/KqS27JcbrCQ?t=130

example: image image

X0nk commented 3 months ago

probably wont do this. having a voxel space working is great, but shadows on top of the already existing floodfill wont work good. Would need to create the colored lighting in a completely different way for this to be done well. would perform completely differently as well.

what rethinking voxels does is very complex, and very advanced. they have SDF based voxels, which can voxelize any model on the fly, to a certain level of precision. on another note, rethinking voxels has was updated on june 15th

joshua-igor commented 3 months ago

I was basing off of the Rethinking Voxels Github page, sorry for the confusion. Shrimple is another shader that does something very similar I'm not sure if it's a different approach or not. But, thanks for responding, I understand the challenges of attempting something like this.