Ambient occlusion in custom shader

Hey all,

Does anyone know if it’s possible to create a custom ambient occlusion shader in normal unity 4 (so not pro)?

Thanks in advance.

There is only one way to do that, that I know of, and it only works in OpenGL ES. You’ll need to read from the color buffer in the fragment shader; it has to be the color buffer because Unity doesn’t give you the ability to write to more than one available buffer. On the desktop, you can’t do that, but need to use render textures. In any case, the easy answer is “you need Pro”.