Code Monkey home page Code Monkey logo

Comments (3)

SlightlyMad avatar SlightlyMad commented on August 21, 2024

Hm, interesting. Looks like you can't use Texture.Sample(sampler, uv) function. That you have to use the old syntax (tex2D(tex, uv)). That's funny because PSSL in PS4 is actually using Texture.Sample() syntax if I remember correctly.
It probably has something to do with the way Unity cross-compiles HLSL to different languages. I would say it is a Unity bug but I have no way to verify. I don't have PS4 devkit. Can you try to use this commit? It still uses old syntax. Maybe it will compile...

from volumetriclights.

ypypjay avatar ypypjay commented on August 21, 2024

Hi,SlightlyMad.Thanks for the reply.
I tried to use your commit.No luck.The 'BilateralBlur' shader still throws me 'undeclared identifier' errors when compiling.
Maybe it's a Unity shader convertion bug.I'll try to look into PSSL to find some clues.
I'll let you know when I find something.
Thanks again.

from volumetriclights.

SlightlyMad avatar SlightlyMad commented on August 21, 2024

Did you use all files from the "2e9e2a6" revision or only the VolumetricLights script from the link I gave you? I'm asking because I had this misunderstanding with someone else couple days ago. And because I can't come up with something better. Sorry, I'm afraid I won't be able to help you without devkit.

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.