leopeltola / Godot-3d-pixelart-demo

A 3D pixelart outline/highlight shader for Godot 4.
MIT License
261 stars 16 forks source link

Shader bug on transparent objects #4

Open BlueOctopusDev opened 1 year ago

BlueOctopusDev commented 1 year ago

Hi, I love this shader but it seems that there's an issue when i try using it with transparent objects I'll link a video showing the bug with a screenshot of my camera setup. Btw i'm on godot 4.0 stable release thx for the help !

https://user-images.githubusercontent.com/83843731/231159640-f0e862e4-ebea-4cf2-b8c0-5c604276b5b9.mp4

Capture d'écran 2023-04-11 141236

leopeltola commented 1 year ago

Sorry for the late reply!

The shader simply wasn't meant for transparent objects - I'm not sure what's causing it to break. It can probably be fixed but I'm afraid I won't have time to look into it. If someone wants to fix it feel free to submit a PR.

In the meantime, I would opt to not use it as a post-processing shader. Assigning it to specific objects should make the issue manageable.

AlexandreInking commented 10 months ago

I can't see the issue... Only, that there's no shadow or outline image