|
Post by darkprophet on Oct 3, 2022 2:56:14 GMT
First of all, amazing asset. Thanks for your hard work! I'm working in URP and noticing some pretty annoying shadow popping on page turn animations. That is, the shadows along the midsection of the book gets immediately alot darker as the animation starts and vanishes as it comes to a stop. See pictures below. I noticed this was also present in the demo scenes (demo2 at least) but to a lesser degree. It clearly depends somewhat on the lighting setup one has, but I have yet to eliminate it entirely. Any tips on how to avoid or minimize this?
|
|
|
Post by echo17 on Oct 3, 2022 13:39:15 GMT
Thanks for the kind words, I'm glad you are enjoying it. The pages and book are just 3D elements, so all shadows are generated by Unity's engine, depending on how you have your lighting set up. Just some background on the plugin: pages are hidden until they are needed, so when you start to turn a page, the page game object is turned on and it starts animating. When the animation finishes, the page game object is disabled. So when the page is enabled, shadows start to be cast by it and when it is disabled, the shadows go away. That is likely why you are seeing the shadows change as the page starts to turn. It's a necessary part of the plugin and I can't think of a workaround for it, unfortunately. Perhaps experimenting with different lighting might soften the transition. Edit: When I run EndlessBook in URP, I'm not seeing the same shading artifacts that you are. It is likely due to a different lighting setup. Here is a quick video showing what I have. linkYou might try changing the shader for the page materials. It could be you are using a material shader that does not use the normals in the same way as what I have. I am using URP/Simple Lit shaders.
|
|