fogParsFragment top-level property

String fogParsFragment
getter/setter pair

Implementation

String fogParsFragment = """
#ifdef USE_FOG

	uniform vec3 fogColor;
	varying float vFogDepth;

	#ifdef FOG_EXP2

		uniform float fogDensity;

	#else

		uniform float fogNear;
		uniform float fogFar;

	#endif

#endif
""";