I'm currently trying to mimic Gouraud shading in JavaFX. Specifically, I want to be able to apply vertex colors to textured polygons.
The problem is, I'd rather not have to generate unique textures for all of the used vertex color / texture combinations, due to resource limitations.
My solution is to setup the model without vertex coloring, then overlay faces on top, with (relatively) small transparent textures which overlay on top to create the intended look.
However, my problem is that, I cannot seem to find any information or techniques to procedurally make the texture which when overlayed will create the intended effect.
Generating the "colored texture" uses the original texture, and multiplies the rgb values by brightness values which are unique for each pixel. My problem is, I need to figure out how to mimic this process, by just overlaying one face upon another.
I have tried changing the BlendMode, however no matter what I set it to, the MeshViews both completely disappear when I do this. I do not know why this happens.