Cutout->Diffuse with baked vert lighting

I have some polygons in my scene that require the Transparent/Cutout/Diffuse shader. This worked great before i baked vertex lighting in Maya for performance reasons.

I’m using the BakedVertexLighting/VertexLit shader for all my non transparent textures, but i can’t find out how to get the Transparent/Cutout/Diffuse shader to work with baked vertex lighting.

Looks like i need a special baked vertex lighting shader for transparent cutout. Does anyone know of such a shader?

Thanks!

Your best bet is probably to start with something like this: AlphaVertexColor and replace the blending line with an alpha test one.

Thanks i’ll take a look. BTW, is the source available to the Transparent/Cutout/Diffuse shader?

The source to all the built-in shaders is available in the thread at the top of this forum.