expworlds / godot-cel-shader Goto Github PK
View Code? Open in Web Editor NEWA Cel Shader for the Godot Engine
License: MIT License
A Cel Shader for the Godot Engine
License: MIT License
First of all, thanks for this awesome shader!
There is one thing I noticed dough while using it, the shader only receives one light source.
You may want to change:
https://github.com/EXPWorlds/Godot-Cel-Shader/blob/master/Shaders/cel.shader#L83
to:
DIFFUSE_LIGHT += diffuse;
Source: https://godotengine.org/qa/48323/my-custom-light-shader-received-only-a-single-light
For testing I applied the shader to this character from Genshin Impact. This meant that you could see the back of the mesh in some places. After adding the outline shader a few spots disappeared but a few didn't.
I used the Godot version 4 so maybe I made a mistake by modifying the shader for the new version even thought I don't think this is the case because I didn't changed much.
I am not good at shader programming so is there anyone, who can help me with this problem?
Down here is a image with the faulty spots marked in red:
First off I would just like to say your shader is great and works very well. Also, thanks for fixing the textures bug so fast.
I think two improvements that would make this even better are support for normal maps and multiple lights. Multiple lights seems like it is tricky though.
On to what this issue is about normal maps, it would be great to have support for normal maps. I have the charactor setup and they look great but my charactor does have a normal map for details. If I could utilize that as well it would be even better.
Thanks :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.