Flower Shader Code Competition

  • Status: Closed
  • Hadiah: $250
  • Penyertaan diterima: 12
  • Pemenang: Jeffersonben

Ringkasan Peraduan

Flower Shader Code Competition

Make us a blossoming flower using shader code!

Create a 2d or 3d representation of a blossoming flower, that expands/contracts using a sinusoidal signal (supplied in boilerplate code).

The shader code must be able to run using glslViewer: https://github.com/patriciogonzalezvivo/glslViewer

Flowers will be judged on how relaxing they look, and if they have a “zen” aesthetic.

To participate, submit your shader code.

Please use this starter code:

#ifdef GL_ES
precision mediump float;
#endif

uniform vec2 u_mouse;
uniform vec2 u_resolution;
uniform float u_time;

uniform sampler2D u_tex0;
uniform vec2 u_tex0Resolution;

void main (void) {
vec2 p = (2.*gl_FragCoord.xy-u_resolution.xy) / u_resolution.y;
float t = u_time;

float LFO = (1. + sin(t * 0.5))*0.5; // you MUST use this to modulate the flower

float amp = 15. / ((60. + LFO*60.) * abs((1.5+(1.-LFO)*3.)*length(p)-1.) );

vec3 c = vec3(amp);
gl_FragColor = vec4(c, 1);
}

Kemahiran Disyorkan

Maklum balas Majikan

“Followed instructions, self-managed very well.”

Gambar Profil muviklabs, United States.

Penyertaan teratas dari peraduan ini

Lihat Lebih Banyak Entri

Papan Penjelasan Umum

  • kuntalkuilaya079
    kuntalkuilaya079
    • 3 minggu yang lalu

    Hi, Good day! Question: Do you want the opening and closing of the petals with only that format of sine curve with different values? Or, you want to put this sine curve in a bunch of different functions? Is there any restriction of use of functions?

    • 3 minggu yang lalu

Bagaimana untuk mulakan dengan peraduan

  • Siarkan peraduan anda

    Siarkan Peraduan Anda Cepat dan mudah

  • Dapatkan berjuta penyertaan

    Dapatkan Bertan-tan Penyertaan Dari serata dunia

  • Anugerahkan penyertaan terbaik

    Anugerahkan penyertaan terbaik Muat turun fail-fail - Mudah!

Siarkan Peraduan Sekarang atau Sertai kami Hari Ini!