premultiplied_alpha_fragment top-level property

String premultiplied_alpha_fragment
getter/setter pair

Implementation

String premultiplied_alpha_fragment = """
#ifdef PREMULTIPLIED_ALPHA

	// Get get normal blending with premultipled, use with CustomBlending, OneFactor, OneMinusSrcAlphaFactor, AddEquation.
	gl_FragColor.rgb *= gl_FragColor.a;

#endif
""";