fez effect
BlitzMax Forums/BlitzMax Programming/fez effect
| ||
hello. does anyone know how to make that FEZ effect?? |
| ||
https://drive.google.com/open?id=0B8T1s0TV53yeeUNZUjVDMS1oUE0&authuser=0 |
| ||
I still don't get it.... Is it the white and blue stripey background? Is it the brighter centre (as if a radial gradient has been additive blended with the background)? What is a "FEZ" effect? The only "Fez" effect I know is [a https://www.google.com.au/search?q=winged+fezzed+monkeys&espv=2&biw=1440&bih=799&tbm=isch&tbo=u&source=univ&sa=X&ei=OftGVZ_2J8LRmwXojYDAAw&ved=0CBwQsAQ&dpr=1]Fez Effect[/a] edit - hmm..link doesn't embed into page... |
| ||
Presumably he's talking about the circle gradient lighting effect emanating from behind the Fez character? |
| ||
Hey, Brucey. Yes, I'm talking about that, indeed. Do you know how to do it? Thanks Cristiano |
| ||
I would imagine the third sentence in my original comment gave a hint.... Is it the brighter centre (as if a radial gradient has been additive blended with the background)? |
| ||
yes, it's. do you know the game FEZ? watch a gameplay video at youtube, so you can understand what i'm talk about.... |
| ||
yes, it's. do you know the game FEZ? watch a gameplay video at youtube, so you can understand what i'm talk about.... Matty knows what you're talking about, and already gave you the answer: create a radial gradient (image), and do an additive blend of it after drawing the background, before drawing the foreground elements -- that will give you the effect. |
| ||
ah, ok. I didn't realize that.. I though in doing an image, anyway.. :) but what is an additive blend? how can i do it? i'm not using opengl... and one more thing.. my background will be a black screen. thanks. |
| ||
Sorry I should have been a bit clearer... I was probably being a bit cheeky... |
| ||
Additive blend = take two pixels rgb values and sum the r g b components of each (potentially clamping the values to prevent going outside allowed color range) Radial gradient = a change in rgb proportional to the distance from a central point. Typically if it was a gradient from white to black it would look a bit like a diffusively lit sphere in greyscale. |
| ||
no problem, matty. :-) can you help me with some snippet? i'll be appreciate. |
| ||
Check the documentation for SetBlend, that should get you where you need to go. |