Searched refs:fog_density (Results 1 – 2 of 2) sorted by relevance
/external/angle/src/libANGLE/ |
D | GLES1Shaders.inc | 535 uniform float fog_density; 631 f = exp(-fog_density * eyeDist); 634 f = exp(-(pow(fog_density * eyeDist, 2.0)));
|
/external/mesa3d/src/gallium/frontends/nine/ |
D | nine_shader.c | 3709 struct ureg_src fog_end, fog_coeff, fog_density, fog_params; in shader_add_ps_fog_stage() local 3735 fog_density = NINE_APPLY_SWIZZLE(fog_params, X); in shader_add_ps_fog_stage() 3736 ureg_MUL(ureg, fog_factor, ureg_src(depth), fog_density); in shader_add_ps_fog_stage() 3740 fog_density = NINE_APPLY_SWIZZLE(fog_params, X); in shader_add_ps_fog_stage() 3741 ureg_MUL(ureg, fog_factor, ureg_src(depth), fog_density); in shader_add_ps_fog_stage()
|