slightlymad / atmosphericscattering Goto Github PK
View Code? Open in Web Editor NEWAtmospheric Scattering for Unity
License: BSD 3-Clause "New" or "Revised" License
Atmospheric Scattering for Unity
License: BSD 3-Clause "New" or "Revised" License
Hi !
I'm using your volumetric light on many student project and it work like a charm, first i wan't to say thank you because i've learned a lot from your work (even if i don't understand all the structure) actually i'm working on a VR project, so i'm using openVR.
The thing to know is your first repo (volumetric light) work perfectly with openVR due to the matrix reprojection in the script, but i need to make a try with atmospheric's one because i'm buiding a meteo-systeme/day-night and atmospheric's lighshaft are perfect for a sun because they are occluded by the skybox.
The probleme is that I got werd black pixel drawed near geometries (maybe by one of the eyes of the camera), they don't move with the camera so it's really visible, even if the effect seem to work under certain point of view.
I'm not able to understand all you're code so i'm stucked, i've try to compare volumetric one to atmospheric one but i failed to get the VR "working" code part to atmospheric.
A possible hack for me would be a directionnal light from volumetric light's repo changed to not enlight the skybox (it can be easyer).
Thank you in advance to take some time to help me, best regard.
Tried the shader today on my MacBook Pro 2015 running Unity 5.6 with Metal. Is there a way to get the shader running on Metal, now that Compute is possible?
http://i.imgur.com/cIajww4.png
everything is setup properly, using u5.4.f3 shader looks like this
oh and when i open the project it says it was made in 5.3.4 you said in thread you made it work with 5.4 which is incorrect
First, thank you for your work.
I'm having some problems after upgrading to Unity 5.5 (was on 5.4.2)
Skybox appear to be darker depending of the camera Far distance.
Skybox appear brighter around Cutout shaders
https://s23.postimg.org/3y9l4wcob/Horizon55_2017_01_11_06_37_45_39.jpg
Hi, the screen becomes full black (even the sample test scenes) in the 5.5.0f3 version.
Here are the errors that appears on the console:
https://www.dropbox.com/s/si4tizks6dlyyg0/Screenshot%202017-01-26%2011.30.40.png?dl=0
Would love to have this working good on the current versions, could this be possible, pleeeease? :)))
float3 rayStart = _CameraPos;
float3 rayDir = normalize(mul((float3x3)unity_ObjectToWorld, i.vertex));
I think rayDir should be below code, is that right?
float3 rayDir = normalize(mul((float3x3)unity_ObjectToWorld, i.vertex) - rayStart )
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.