A game created for the Godot Wild Jam #21
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

16 行
306B

  1. shader_type canvas_item;
  2. uniform float rot_speed:hint_range(-6.0, 6.0) = 1.0;
  3. void fragment(){
  4. float ri = TIME * rot_speed;
  5. mat2 rm = mat2(
  6. vec2(sin(ri), -cos(ri)),
  7. vec2(cos(ri), sin(ri))
  8. );
  9. vec2 pos = rm * (UV - vec2(0.5, 0.5));
  10. pos = pos + vec2(0.5, 0.5);
  11. COLOR = texture(TEXTURE, pos);
  12. }