slipster216 / VertexPaint

Unity 5.3 Vertex Painter
Other
906 stars 151 forks source link

Fixed sampler limit exceeded compile errors and other shader warnings. #30

Closed Invertex closed 4 years ago

Invertex commented 4 years ago

The 4 and 5 Layer shaders end up with way too many seperate texture samplers that exceeds the pixel shader 5.0 limits. I've reconfigured the shaders to have only a base set of samplers derived from the first layer of textures, while the subsequent layers' textures will use the base layer's samplers.

slipster216 commented 4 years ago

Merged, thanks!

drewatjacobs commented 4 years ago

@Invertex Thanks so much for this fix. Looks like I'm up and running. @slipster216 Thanks for merging so quickly. I'm looking into your Mega Splat product as well. Cheers!