Blender Git Loki

Git Commits -> Revision 667add5

Revision 667add5 by Clément Foucault (master)
September 20, 2018, 15:53 (GMT)
Eevee: Implement Wireframe Node

This implementation is a bit hacky but match cycles pretty close.

If pixel size is not enabled, it will use the geom shader to
compute distances between vertices. This will have a cost.

Implementation is a bit hacky in gpu_codegen to make the geom shader works
in an optional manner.

Commit Details:

Full Hash: 667add5fc5b743a324b508e3c5cedfde1df218c0
Parent Commit: 5c20161
Lines Changed: +163, -10

6 Modified Paths:

/source/blender/draw/engines/eevee/shaders/lit_surface_vert.glsl (+1, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/shadow_vert.glsl (+1, -1) (Diff)
/source/blender/gpu/GPU_material.h (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+124, -7) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+24, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_wireframe.c (+12, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021