Refraction? - Simple - No shaders

Blitz3D Forums/Blitz3D Programming/Refraction? - Simple - No shaders

bytecode77(Posted 2007) [#1]
hi!

i tried to make refraction. (at first, i'll do it without use of shaders)

somehow, the water looks like i was using transparency only. i put the cubemap texture detail very low, so you don't think that the water is transparent. it's alpha is turned to 1.0

here is my code:

and the image:


thank you for any help :)


puki(Posted 2007) [#2]
I think AShadow has refraction - can't you just lift it out and then jig it about a bit?


bytecode77(Posted 2007) [#3]
in fact, i wanted to use refraction without any shaders. btw, i nearly managed to do refraction with shaders...


_33(Posted 2007) [#4]
Doesn't work on my system.


Naughty Alien(Posted 2007) [#5]
Doesn't work here too..by the way refraction for specific areas, can be done on different way, without any additional Dll, and very very fast...I'll post demo I made when I get back from office..


_33(Posted 2007) [#6]
hmmm, ok.


bytecode77(Posted 2007) [#7]
hey, thanks man :)
i think i understood how real refraction works, and i'll gonna add refraction to my shadow system when i have some time :)


DareDevil(Posted 2007) [#8]
Devil use the last version for update