premultipliedAlphaFragment top-level property

String premultipliedAlphaFragment
getter/setter pair

Implementation

String premultipliedAlphaFragment = """
#ifdef PREMULTIPLIED_ALPHA

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

#endif
""";