Update 2019-5-4-Photorealistic-Particles.md

This commit is contained in:
Andrew Cassidy 2019-05-05 12:30:56 -07:00
parent 5c60575505
commit ed652948f6
No known key found for this signature in database
GPG Key ID: 963017B38FD477A1

View File

@ -37,3 +37,10 @@ Possible future additions to this technique:
- use more photos for a more smooth animation
- rendering a spinning 3D model in blender instead of using photography
The source file is licensed under CC-BY-SA-4.0 and available [here](https://github.com/drewcassidy/ReStocked-Assets/raw/master/Textures/fx/restock-particle-rocks.psd).
---
## UPDATE
After writing this I discovered that the "UV Cycles" value I used to control how many times the flipbook animation playes over the life of the particle is not properly supported in-game due to a bug. I've opened a bug report [here](https://bugs.kerbalspaceprogram.com/issues/22109), but there is also a workaround using the "tiling" property of the material. I have a texture atlas of 4x2 images that I want to loop 5 times, so I set the tiling on the y axis of the texture to 5, and set the number of tiles in the particle to 4x10, effectively making the texture 5 times larger in uv-space. The flipbook is still only running once, its just running on a tiling texture.