Thank you for the example.

Well, i´ve tested the code for the shader, but i only see that wireframe effect
when apply transparency on the model.

However, i don´t want my model to be transparent, am i missing something?