Color gradient ramp for glowing parts of the mesh
This commit is contained in:
parent
cb5bd093ec
commit
e74e37cc16
11 changed files with 64 additions and 24 deletions
|
|
@ -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++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue