Browse article on shaders (himself a complete novice in this matter), where as an example the following line:
half3 starAlbedo = smallStars.rgb * smallStars.a
+ mediumStars.rgb * mediumStars.a
+ bigStars.rgb * bigStars.a;
Tried to remove the multiplication by alpha, got the image in a strange, colorful divorces. Can somebody in simple language to explain the physical meaning of this work? or share a link which covers this issue?
smallStars, mediumStars, bigStars - half4 variables which store, as I understand it, information about the channels rgba of the pixel texture which now passes through the Shader (there are 4 textures, one of which is not important for the question)