I'm not sure, if I understood you correctly, but take a look at this video:
What is HLSL?

Edit: I've also made some changes in the wireframe shader, so now you can change its (wireframe) alpha via entitie's skill44.

Edit2: I've found some tips on the web, about (f.e.) removing the inner line in wireframe shader. It's pretty simple (in theory):
Quote
What you want is to only draw lines around the edge of the cube. And there are many ways you can acheive this...

Render a texture on to the cube, which has alpha everywhere but the edges.
Use a pixel shader to turn all pixels that are not at the edge of the cube to alpha. <- This is recommended by me, as you will be able to set the line length around the cube.

Sad thing is, that I don't really know, how to find pixels which aren't on the edge of the polygons...

Source:
How can I get rid of the diagonal wires in wireframe boxes?

Edit3: articles about how to create wireframe shader and remove the inner line (but it's OpenGL):
Single-Pass Wireframe Rendering
Single-Pass Wireframe Rendering Explained and Extended


Last edited by 3run; 11/10/20 16:18.

Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung