Giter VIP home page Giter VIP logo

Comments (7)

gregcotten avatar gregcotten commented on July 21, 2024 2

@SlightlyMad Seems like it might be a Metal issue. It runs fine in the editor (2017.3.0f3), but when I build I get the same error with BilateralBlur. I can fix the problem by removing Metal from the Graphics API. I do this by going to Edit->Project Settings->Player, go to "Other Settings", Uncheck "Auto Graphics API for Mac", and remove Metal from the list.

My exact error:

Invalid pass number (1) for Graphics.Blit (Material "Hidden/BilateralBlur" with 1 passes)
UnityEngine.Graphics:INTERNAL_CALL_Internal_BlitMaterial(Texture, RenderTexture, Material, Int32, Boolean, Vector2&, Vector2&)
UnityEngine.Graphics:Internal_BlitMaterial(Texture, RenderTexture, Material, Int32, Boolean, Vector2, Vector2)
UnityEngine.Graphics:Blit(Texture, RenderTexture, Material, Int32)
VolumetricLightRenderer:OnRenderImage(RenderTexture, RenderTexture) (at [path-to-project]/Assets/Vendor/Volumetric Lighting Assets/Scripts/VolumetricLightRenderer.cs:363)

from volumetriclights.

opstal-thomas avatar opstal-thomas commented on July 21, 2024

Having the same issue in Unity 2017.1.2f1.

from volumetriclights.

lucasmontec avatar lucasmontec commented on July 21, 2024

Also, the game some times is rendered either pink or black.

from volumetriclights.

SlightlyMad avatar SlightlyMad commented on July 21, 2024

Sorry guys for the late reply. I'm super busy. Did you figure it out? It is some weird Unity import issue. Manually reimporting the shaders should fix it.

from volumetriclights.

lucasmontec avatar lucasmontec commented on July 21, 2024

from volumetriclights.

gregcotten avatar gregcotten commented on July 21, 2024

Looks like #18 has a similar issue with BilateralBlur on Android. I also saw somewhere that someone with a PS4 build target had this problem. I wonder what the issue is?

from volumetriclights.

SlightlyMad avatar SlightlyMad commented on July 21, 2024

@gregcotten the error simply means that the shaders didn't compile. it is probably different problem on different platforms. the only "officially" supported platforms are directx and opengl. i would fix ps4 and metal but i don't have mac or ps4 devkit. and so it is impossible for me to guess the where the problem really is.

from volumetriclights.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.