Make sure the vignette variable is referencing the correct Vignette component and it’s enabled in the Inspector.
Check that the vignetteColorTop values are within the [0, 1] range for all RGB components.
Verify that the post-processing stack or package is correctly set up in the project, including the Post-Processing Volume, profile, and layer.
Check if there are any error messages in the Unity Console that might give clues about what’s going wrong.
Test with default values for vignetteColorTop and without the vignette.intensity line to isolate potential issues.
Ensure that the depthMultiplier value is calculated correctly and has meaningful values based on the scene setup.
If you still can’t find the issue after rechecking the above points, it might be helpful to provide more context or share additional relevant parts of the code or the Unity project. This way, it would be easier to identify any potential issues that are not apparent in the code snippet alone.