Hello Facepunch,
I am currently trying to figure out whats the best way to draw a material at curved surfaces.
So far I found that the best way might be to go with the mesh libary somehow.
But at first I dont know if this is really the best way (or if it even really is possible)
and also I didnt find anything like I want to do so I have no reference to get on with my idea..
Are you talking about materials on models or in 2D rendering?
On Models.
But I dont want to do anything within the model as the position is going to be variable..
Do you mean texturing a model made with render functions, or a compiled MDL model?
If you mean the first one, then the only customization options are the UV coordinates AFAIK.
If you mean the second one, then you will have to change the texture mesh in your modeling program (for instance, if you are using MilkShape, there is some kind of menu to change how the texture applies to the object, I know nothing about that). If that is the case, you should also move this thread to the modeling subforums.
https://files.facepunch.com/forum/upload/377014/98e30385-bd84-4a72-9b55-f93977d8ac6f/image.png
Well, I am going to be more specific now.
I want to draw something like a logo or a little image on for example a playermodel, a car or a prop.
With drawing texture around curved surface I mean something like this:
https://media.gmodstore.com/_/script_media/4b21ad24997d0e392996a4d2c04d04bb.png
Hope you guys understand better what I mean now.
that's a decal
Okay, so I can use util.DecalEx for that right?
I'd try it myself but I cant get that function to work and also I dont find anything about it in the forums or internet at all (except wiki page ofc.) ..
Sorry, you need to Log In to post a reply to this thread.