indigo icon indicating copy to clipboard operation
indigo copied to clipboard

`COLOR` value initialised to Black in base entity shader

Open davesmith00000 opened this issue 1 year ago • 2 comments

BaseEntityShader contains this, COLOR = vec4(0.0f), which seems wrong to me. Either it shouldn't be black or it shouldn't be supplied as the fragment function argument? :thinking:

davesmith00000 avatar Nov 07 '23 19:11 davesmith00000

Had another look and I think it's ok, in fact.

davesmith00000 avatar Nov 18 '23 13:11 davesmith00000

Tried it again, the color value does not work as expected. Perhaps my expectations are wrong, but I expect it to be equal to env.CHANNEL_0 or something.

davesmith00000 avatar Nov 26 '23 22:11 davesmith00000