feat(flame_3d): Add UnlitMaterial support#3914
Conversation
| void main() { | ||
| vec4 texColor = texture(albedoTexture, fragTexCoord); | ||
| outColor = texColor * material.albedoColor; | ||
| } |
There was a problem hiding this comment.
does that mean it also does not support animations, joints, etc? should we call that out?
There was a problem hiding this comment.
They are supported, just not used. Does not affect the material itself
There was a problem hiding this comment.
I thought we needed dedicated code on the shader for it to work?
There was a problem hiding this comment.
nuhu, just the inputs and then slap a color on it. We can for sure improve it but imho these stuff should (long term) stay out of material shaders, and be dealt with through a proper shader pipeline
There was a problem hiding this comment.
yes, I agree eventually we should have a pipeline.
but rn for these to work, you need extra code on the shader here I believe.
so since you don't have it, it will not work - so we should document it on the class that it doesn't support it.
right?
Description
Add
UnlitMaterialsupportChecklist
docsand added dartdoc comments with///.examplesordocs.Breaking Change?
Related Issues