Welcome to mirror list, hosted at ThFree Co, Russian Federation.

eevee_surface_depth_simple_frag.glsl « shaders « eevee « engines « draw « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 443dbd7853e2296ddb136c35714464115a84ebce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

#pragma BLENDER_REQUIRE(eevee_bsdf_stubs_lib.glsl)
#pragma BLENDER_REQUIRE(eevee_nodetree_eval_lib.glsl)

/**
 * Simple passthrough shader. Outputs depth without ammendment.
 */

void main(void)
{
  /* No color output, only depth (line below is implicit). */
  /* gl_FragDepth = gl_FragCoord.z; */
}