Sha256: 4915a376cd8c7e6de16596702a6b472ae5a275be196d7152825b4aef01c9ee1e
Contents?: true
Size: 539 Bytes
Versions: 13
Compression:
Stored size: 539 Bytes
Contents
uniform float size; // uniform float scale; // TODO #include common #include color_pars_vertex #include shadowmap_pars_vertex #include logdepthbuf_pars_vertex void main() { #include color_vertex vec4 mvPosition = modelViewMatrix * vec4(position, 1.0); // #ifdef USE_SIZEATTENUATION // gl_PointSize = size * (scale / length(mvPosition.xyz)); // #else gl_PointSize = size; // #endif gl_Position = projectionMatrix * mvPosition; #include logdepthbuf_vertex #include worldpos_vertex #include shadowmap_vertex }
Version data entries
13 entries across 13 versions & 2 rubygems