@@ -46,9 +46,9 @@ public: | |||||
m_hotspot = 0.4f * vec3(lol::sin(m_time * 4.f) + lol::cos(m_time * 5.3f), | m_hotspot = 0.4f * vec3(lol::sin(m_time * 4.f) + lol::cos(m_time * 5.3f), | ||||
lol::sin(m_time * 5.7f) + lol::cos(m_time * 4.4f), | lol::sin(m_time * 5.7f) + lol::cos(m_time * 4.4f), | ||||
lol::sin(m_time * 5.f)); | lol::sin(m_time * 5.f)); | ||||
m_color = 0.25f * vec3(1.1f + lol::sin(m_time * 1.5f + 1.f), | |||||
1.1f + lol::sin(m_time * 1.8f + 1.3f), | |||||
1.1f + lol::sin(m_time * 1.7f)); | |||||
m_color = 0.25f * vec3(1.1f + lol::sin(m_time * 2.5f + 1.f), | |||||
1.1f + lol::sin(m_time * 2.8f + 1.3f), | |||||
1.1f + lol::sin(m_time * 2.7f)); | |||||
/* Saturate dot color */ | /* Saturate dot color */ | ||||
float x = std::max(m_color.x, std::max(m_color.y, m_color.z)); | float x = std::max(m_color.x, std::max(m_color.y, m_color.z)); | ||||
m_color /= x; | m_color /= x; | ||||
@@ -33,7 +33,7 @@ void main(void) | |||||
{ | { | ||||
float tc = 0.0, ta = 0.0; | float tc = 0.0, ta = 0.0; | ||||
{ | { | ||||
float s = 6.0 + 3.0 * in_Point.z; | |||||
float s = 3.0 + 2.0 * in_Point.z; | |||||
vec2 p = pass_Position - in_Point.xy * 0.9; | vec2 p = pass_Position - in_Point.xy * 0.9; | ||||
float t = clamp(1.2 - dot(s * p, s * p), 0.0, 1.0); | float t = clamp(1.2 - dot(s * p, s * p), 0.0, 1.0); | ||||
float u = t * t * t * t; | float u = t * t * t * t; | ||||
@@ -73,7 +73,7 @@ void main(in float2 pass_Position : TEXCOORD0, | |||||
{ | { | ||||
float tc = 0.0, ta = 0.0; | float tc = 0.0, ta = 0.0; | ||||
{ | { | ||||
float s = 6.0 + 3.0 * in_Point.z; | |||||
float s = 3.0 + 2.0 * in_Point.z; | |||||
float2 p = pass_Position - in_Point.xy * 0.9; | float2 p = pass_Position - in_Point.xy * 0.9; | ||||
float t = clamp(1.2 - dot(s * p, s * p), 0.0, 1.0); | float t = clamp(1.2 - dot(s * p, s * p), 0.0, 1.0); | ||||
float u = t * t * t * t; | float u = t * t * t * t; | ||||