Hi there !
In our project we would like to take the advantage of the speedtree base shader for our foliage bought on the asset store (from the speedtree library) but add more stuff into it.
At first I thought I would simply need to call the same function they call on their base shader (which is SpeedTreeVert) but it looks like it's too custom to use it normally on an ASE base standard.
So I'm trying to create a custom template to use on all various kind of speedtree custom shader we would like to make.
On the template documention, you specify that we have to set the keyword "ase_vdata" on the vertex data struct, but it looks like the one that speedtree uses is inside an include file (SpeedTreeVertex.cginc). How do I do then?
I would appreciate some help here
Thanks !
ps: Every cginc and shaders from speedtree can be found on the built-in shader archive for any Unity version.
edit: if it's impossible to achieve this, I would understand, and we will just write a custom shader by hand, as we don't want to add anything too fancy. But it would be cool to have a speedtree template to shader with the community