I am pretty ignorant when it comes to writing shaders (amongst other things…) so this might be an easy one (then again it might not be…)-
How do I use a fixed background image that is :
unaffected by camera movement and orthographic size
(for an orthographic camera) or if it is impossible for a perspective camera.
only one pass ,
when I use skybox , it uses 6 passes when I only need a fixed image , when I try to modify the Skybox shader to remove the remaining textures I get psychedelic smears on the iphone (pretty cool ones I might add…)
:shock:
Thanks Arrakis, that’s pretty much what I’m doing , but The reason I would prefer to use a skybox is to avoid the clear camera phase and clear directly to the image.
Every draw call matters when it comes to the iphone.