Refraction
Blitz3D Forums/Blitz3D Programming/Refraction
| ||
now i know we can do reflection easely, how about refraction? how would 1 go about cubicmapping to simulate refraction? |
| ||
Afaik, there isnt a way. Cubemapping wont help here. On my pervious post podperson mentioned the use of pixel shaders but I dont know how to implement them in Blitz. |
| ||
Try playing around with SetCubeMode, it's not documented, but it does change the way the cube mapping acts. |
| ||
ya i tried setcube mode and using texture blend to 1 altough it kinda looks like refraction, its really not accurate at all. |
| ||
On my pervious post podperson mentioned the use of pixel shaders but I dont know how to implement them in Blitz. You can't. Pixel Shaders weren't introduced until DX8 and Blitz3d is DX7. |