playdeadgames / temporal

Temporal Reprojection Anti-Aliasing for Unity 5.0+
MIT License
1.84k stars 192 forks source link

Fix issue #1: Error on running demo scene #11

Closed yvan-sraka closed 7 years ago

yvan-sraka commented 7 years ago

I'm trying to run the scene that was shared with this project on a empty Unity3d project and I get this error:

Trying to access pass 1, but material 'Playdead/Post/VelocityBuffer' subshader (0) has only 1 valid passes. 
UnityEngine.Material:SetPass(Int32) VelocityBuffer:OnPostRender() (at Assets/Scripts/VelocityBuffer.cs:126)
yvan-sraka commented 7 years ago

The change was finally made in https://github.com/playdeadgames/temporal/commit/9b79d1f3bf2b566ee16a665527c8ec7723d69f31, so this Pull-Request can be closed.