Color gradient ramp for glowing parts of the mesh

This commit is contained in:
saschawillems 2016-08-13 16:37:53 +02:00
parent cb5bd093ec
commit e74e37cc16
11 changed files with 64 additions and 24 deletions

View file

@ -26,7 +26,7 @@ void main()
vec4 color = vec4(0.0, 0.0, 0.0, 0.0);
UV += radialSize * 0.5 - ubo.radialOrigin;
#define samples 16
#define samples 32
for (int i = 0; i < samples; i++)
{