Added missing usages in buffers used a source of data copy. Fixed problems with types in starsphere.frag shader. Updated starsphere.frag.spv file.
This commit is contained in:
parent
b54e424d1b
commit
e57722d7f1
3 changed files with 5 additions and 5 deletions
|
|
@ -14,11 +14,11 @@ layout (location = 0) out vec4 outFragColor;
|
|||
float hash33(vec3 p3)
|
||||
{
|
||||
p3 = fract(p3 * HASHSCALE3);
|
||||
p3 += dot(p3, p3.yxz+19.19);
|
||||
return fract(vec3((p3.x + p3.y)*p3.z + (p3.x+p3.z)*p3.y + (p3.y+p3.z)*p3.x));
|
||||
p3 += dot(p3, p3.yxz+vec3(19.19));
|
||||
return fract((p3.x + p3.y)*p3.z + (p3.x+p3.z)*p3.y + (p3.y+p3.z)*p3.x);
|
||||
}
|
||||
|
||||
float starField(vec3 pos)
|
||||
vec3 starField(vec3 pos)
|
||||
{
|
||||
vec3 color = vec3(0.0);
|
||||
float threshhold = (1.0 - STARFREQUENCY);
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue