SSAO

Ok I have found and included SSAO but the effect is not working. I have a NVIDIA GeForce GTX 285 which has 4.0 shader support so i dont understand why the effect wont turn on. I have the pro trial version. Is there somthing I’m missing to get this to work?

  1. Do you have Unity Pro? (or do you mean with Unity Pro Trial?)
  2. Did you drag the script on your camera?

I’m not sure I understand. I have the script in the inspector window. I tryed to drag it to my main camera but it would not let me. I have the trail version but it is the pro trail for like 6 more days

if it won’t let you drag it you have at least 1 script with a compilation error.
In that case no compilation is working and dragging of scripts won’t work

here are the errors i got

NullReferenceException: Object reference not set to an instance of an object
SSAOEffect.CreateMaterials () (at Assets\Pro Standard Assets\Image Based\SSAOEffect.cs:79)
SSAOEffect.Start () (at Assets\Pro Standard Assets\Image Based\SSAOEffect.cs:62)

did you import the whole standard pro assets? it requires additional things aside of just the script

I got it working. I had like 4 cameras in the scene somehow and many SSAO scripts all over the place. I did not realize the script needed to be placed on the first person camera and to do so it had to be selected when i opened the script. I deleted out all the extra cameras and SSAO scripts and attached the SSAO script to the firt person camera and all is well. Thanks for the help.

Ah I see
Didn’t think of the possibility of “over-camera-ing”

I get the same error. The script gets deactivated when it is attached to a camera. I can’t even add it to the camera of an empty scene. Any suggestions what to do? Thanks for your help!