MinaPecheux/UnityTutorials-RTS

Two other issues

UnityAnthony opened this issue · 3 comments

Tree Prefab is missing from Terrain objects

and the Fog of war shader doesn't render

rts

Shader is easy fix remove d3d11 from the #pragma exclude_renderers line

Actually that breaks tree rendering

Hi again!
So the tree prefabs are missing because I'm using assets from the store that I didn't commit... (the low-poly pack). Not sure how to go about this: as I explained in the tutorial it's one possibility but I want people to remain free to pick what they want, so I'm not committing all assets...

Happy to get your opinion on this! :)

About the FOV shader: yes I know, sadly there are some breaking changes between the various Unity versions... this has been noticed in #2 that is still open.
I'm not well-informed enough about Unity's inner workings with shaders to solve it, any help would be much appreciated! :D