I'm sorry if this is ignorant, but LÖVE says my graphics card does not support pixel effects, and when I googled it it seemed it does...
I have an iMac with a radeon x1600
Share a Shader!
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Share a Shader!
Last edited by oddic on Sun Apr 15, 2012 10:44 pm, edited 2 times in total.
Re: Share a Shader!
Raycast is too slow. Look at shader toy demos, they are fast and pretty.
Re: Share a Shader!
which shader toy demo's?RPG wrote:Raycast is too slow. Look at shader toy demos, they are fast and pretty.
Re: Share a Shader!
All 3D demos: Apple, 704, etc...
Re: Share a Shader!
Quick question on conditional statements in GLSL.
How do you put multiple conditions in a single 'if' statement (not familiar with C++).
Can get nested ifs to work but not multi-conditional (see attachment).
How do you put multiple conditions in a single 'if' statement (not familiar with C++).
Can get nested ifs to work but not multi-conditional (see attachment).
- Attachments
-
- mirror.love
- Simple mirror test script
- (134.01 KiB) Downloaded 566 times
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Share a Shader!
You'd use && for and and || for or.
I would, however, like to tell you that conditionals are very inefficient in shaders.
I would, however, like to tell you that conditionals are very inefficient in shaders.
Re: Share a Shader!
Thanks bartbes.
Appears I was just screwing up some of the syntax.
Have to do some more thinking as to how to avoid the conditionals.
Tried using sequential application of shaders but got different results then with conditionals.
Dumb question - where is a source for functions available in GSGL language used by shaders?
Appears I was just screwing up some of the syntax.
Have to do some more thinking as to how to avoid the conditionals.
Tried using sequential application of shaders but got different results then with conditionals.
Dumb question - where is a source for functions available in GSGL language used by shaders?
Re: Share a Shader!
Here is a GLSL reference. It is also linked in the wiki at love.graphics.newPixelEffect.
Re: Share a Shader!
Thank you vrid.
Should have found this info on the WIKI but still quite new here.
Best
Should have found this info on the WIKI but still quite new here.
Best
Re: Share a Shader!
A simple shader.
Image just a place holder.
Would like a transparent ball shader.
Anyone have one?
Image just a place holder.
Would like a transparent ball shader.
Anyone have one?
- Attachments
-
- Looking Glass.love
- Image magnifier
- (206 KiB) Downloaded 654 times
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 5 guests