Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

Texture tap in vertex shader

$
0
0

@Moirai wrote:

Quick question I can't find answer to. Considering DX environment. How expensive is taping into texture in Vertex shader compared to Pixel shader? I used that technique quite a bit in the past but I've never wondered about the price. Now I would like to use it on ridiculous amount of vertices, and that's the problem. Alternatively I could find a way if that texture tap would be uniform for whole model, but without geometry shader I have no idea how to approach it.

Edit: Actually best approach for me would really be if I could just tap once into texture for whole model and use it in vertex shader. I don't think there is a way how to achieve it but just checking if I am not missing something.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles