Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

different effet in Unity 5.2 and Unity 5.02 #9

Open
Rendolf opened this issue Sep 15, 2015 · 2 comments
Open

different effet in Unity 5.2 and Unity 5.02 #9

Rendolf opened this issue Sep 15, 2015 · 2 comments

Comments

@Rendolf
Copy link

Rendolf commented Sep 15, 2015

Hi,
I have noticed that yout light shafts look different in Unity 5.2 and Unity 5.02. Please, look and this image (top unity 5.02, bottom unity 5.2). All parameters are the same. Do you have any idea what is going on?

lightshaft_unity

@KevinComerford
Copy link

Same here. I can combat it a bit by adjusting the attenuation curve, but there's still some obvious stepping at the end of the shaft.

@ccherub
Copy link

ccherub commented Aug 27, 2016

same here. i rolled back to 4.7 because of this. i was able to get decent attenuation by playing around with the shader and not using the attenuation curve.

line 44 if u change the 25.0 to higher values you get more attenuation
return 1.0 / (1.0 + 25.0 * distance * distance);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants