Search found 174 matches

by Alexar
Thu Sep 10, 2015 1:37 am
Forum: Libraries and Tools
Topic: [util] shadertoy shader effect viewer
Replies: 14
Views: 26786

Re: [util] shadertoy shader effect viewer

WOW! :awesome: Alexar, this is awesome. shadertoy.com has a lot of good examples (2d shadows, gradients, fractals, ...) Thanks! mandelbrot "doubles" , Simple path tracer run well on LOVE 0.9.2 Where you get raycast2d.glsl ? I can't find this on shadertoy.com. i changed the file name, the ...
by Alexar
Thu Sep 10, 2015 1:34 am
Forum: Libraries and Tools
Topic: [util] shadertoy shader effect viewer
Replies: 14
Views: 26786

Re: [util] shadertoy shader effect viewer

Is it just me, or should the mouse-controlled light source in the raycasting example move with the mouse cursor, and not mirrored horizontally and vertically? Because it moves like that on my end :v sorry,it's my mistake, and fix that by iSystem.iMouse[1],iSystem.iMouse[2] = love.mouse.getPosition(...
by Alexar
Wed Sep 09, 2015 12:53 am
Forum: Libraries and Tools
Topic: [util] shadertoy shader effect viewer
Replies: 14
Views: 26786

Re: [util] shadertoy shader effect viewer

Davidobot wrote:That's incredibly useful! I like checking out shadertoy too periodically, but was slightly disappointed at the lack of usage within Löve, but now that's been resolved! Thanks a bunch!
bakpakin wrote:This is quite awesome and useful.
thanks for support, hope you enjoy it.
by Alexar
Tue Sep 08, 2015 12:58 am
Forum: Support and Development
Topic: shader question about textureCube
Replies: 5
Views: 1838

Re: shader question about textureCube

T-Bone wrote:Just wondering, why would you want a textureCube in a 2D game?
euh, it's just for a little converter viewtopic.php?f=5&t=80885
by Alexar
Tue Sep 08, 2015 12:57 am
Forum: Support and Development
Topic: shader question about textureCube
Replies: 5
Views: 1838

Re: shader question about textureCube

slime wrote:LÖVE doesn't support cubemap textures (which are their own type of texture separate from regular 2D textures.)
i see, thanks
by Alexar
Tue Sep 08, 2015 12:55 am
Forum: Libraries and Tools
Topic: [util] shadertoy shader effect viewer
Replies: 14
Views: 26786

[util] shadertoy shader effect viewer

hi guys, these days, i am very interested in playing with shaders. and i found the site http://www.shadertoy.com. you can see these amazing effects 2d & 3d. the language in that site is a little different from love's, so i desided to do some conversion. with this util, you can run the code copie...
by Alexar
Mon Sep 07, 2015 2:16 am
Forum: Support and Development
Topic: shader question about textureCube
Replies: 5
Views: 1838

shader question about textureCube

hi guys,
is there a textureCube function in love's shader? or other name?
when i use the "c = textureCube(iChannel0, (c.y*t.x > 3. ? t.zxy:t.yzx)-3.);" there pops an error "no matching overloaded function found."
so how can i deal with it? thanks~
by Alexar
Tue Sep 01, 2015 12:35 am
Forum: Libraries and Tools
Topic: [demo] a circle region warp effect
Replies: 2
Views: 1894

Re: [demo] a cirle region warp effect

WOoow this does look cool, I may in fact want to borrow it at some point for my current project. I could think of a few uses... It could be a fun effect to use for animating menus/logos/etc. for example. PS: There is a small glitch in the demo where it seems to temporarily use the old mouse coordin...
by Alexar
Thu Aug 27, 2015 9:28 am
Forum: Libraries and Tools
Topic: [demo] a circle region warp effect
Replies: 2
Views: 1894

[demo] a circle region warp effect

hi everyone, these days i am learning warp effct stuff, and here is a little demo, you can use it freely in your project demo.jpg and here are two versions , please forgive my dirty code. the first one using imageData the second one using shader fixed some errors. oh , added an elastic tween. elasti...
by Alexar
Sat Aug 22, 2015 2:35 pm
Forum: Support and Development
Topic: [solved]love.graphics.line() bug? or my mistake
Replies: 8
Views: 2559

Re: love.graphics.line() bug? or my mistake

pekofpke = 200 -- start at 200 pixel diffrence function love.update() love.graphics.setLineJoin("miter")-- "bevel" , "none" pekofpke = pekofpke *0.995 -- This takes the value to almost 0 love.graphics.setLineWidth(50) love.graphics.line(0,200,200,200+pekofpke/2,0,200+p...