Comments (3)
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.
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.
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)
- Not showing for newer mac versions. HOT 2
- Won't work on unity 2018.1.0b12 with Lightweight render pipeline HOT 3
- Things sometimes look dark (2017.3.1f1) HOT 2
- Dont work in unity 2018
- Works and displays perfectly in editor but invisible in a standalone Windows Build
- Changing shadow strength on a light affects volumetric shadows on another light
- Nothing with HD Render Pipeline HOT 2
- Doesn't work with Orthographic camera, unless near clipping plane is set very high
- Does not work on WebGL
- Add Support for VR HOT 1
- Volumetric light Disappears in Unity 2019.1 (old render pipeline not HDRP or LWRP) HOT 1
- Volumetric lights disabled in built package HOT 3
- Wont work in specific scene
- URP version?? HOT 1
- I get an error when playing
- Returning black screen in release builds. HOT 1
- Build a package
- Volumetric lighting disappears when spot light doesn't collide with anything? HOT 1
- Compatibility with Unity 5.0.0
- Any way that you could have the volumetric lights generate in editor view and not just in scene cam view?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from volumetriclights.