Home
last modified time | relevance | path

Searched refs:fogColor (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/shaders/common/
H A D3d_dm_inplace_env_common.h85 vec3 fogColor = color.rgb; in InplaceEnvironmentBlock() local
86 InplaceFogBlock(CORE_CAMERA_FLAGS, farPlane.xyz, camPos, color, fogColor); in InplaceEnvironmentBlock()
87 color.rgb = fogColor.rgb; in InplaceEnvironmentBlock()
H A D3d_dm_inplace_fog_common.h86 …const vec3 fogColor = inscatteringColor.rgb * inscatteringColor.a + envMapColor.rgb * envMapColor.… in InplaceFogBlock() local
89 outCol.rgb = mix(baseColor, fogColor, expFogFactor); in InplaceFogBlock()
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/utils/
H A DShape.js95 static fogColor = new Float32Array([0.00, 0.00, 0.0]);
H A DPlaneShape.js157 gl.uniform3fv(this.program.u_FogColor, Shape.fogColor);
H A DCubeShape.js284 gl.uniform3fv(this.program.u_FogColor, Shape.fogColor);