[DiscordArchive] are there textures it doesn't happen with?
[DiscordArchive] are there textures it doesn't happen with?
![[Image: image.png?ex=690c373d&is=690ae5bd&hm=a97...9cf95c80b&]](https://cdn.discordapp.com/attachments/415944535718494208/1231663465865941042/image.png?ex=690c373d&is=690ae5bd&hm=a971ac4353c8733dff99ef8b081cd67ef7a54cffe71d4294287b88b9cf95c80b&)
Archived author: Fiur • Posted: 2024-04-21T17:50:53.515000+00:00
Original source
There is no settings like that
![[Image: image.png?ex=690c373d&is=690ae5bd&hm=a97...9cf95c80b&]](https://cdn.discordapp.com/attachments/415944535718494208/1231663465865941042/image.png?ex=690c373d&is=690ae5bd&hm=a971ac4353c8733dff99ef8b081cd67ef7a54cffe71d4294287b88b9cf95c80b&)
Archived author: Fiur • Posted: 2024-04-21T17:51:08.416000+00:00
Original source
I am on wotlk
Archived author: intra • Posted: 2024-04-21T17:52:06.783000+00:00
Original source
I was looking at the typescript wrapper tswow uses which has two implementations of it: ```typescript
/**
* Changes the texture of a Texture widget.
*
* @param file Path to a texture image. | ID number specifying a Blizzard texture file. Returned by various API functions.
* @param horizWrap Wrap behavior specifying what should appear when sampling pixels with an x coordinate outside the (0, 1)
* region of the texture coordinate space
* @param vertWrap Wrap behavior specifying what should appear when sampling pixels with a y coordinate outside the (0, 1)
* region of the texture coordinate space.
* @param filterMode Texture filtering mode to use
*/
SetTexture(file: string | number, horizWrap?: Wrap, vertWrap?: Wrap, filterMode?: FilterMode): void;
SetTexture(r:number,g:number,b:number,a:number): void;```
![[Image: image.png?ex=690c37c9&is=690ae649&hm=658...6bd003387&]](https://cdn.discordapp.com/attachments/415944535718494208/1231664051336118314/image.png?ex=690c37c9&is=690ae649&hm=65843eb6f897d9752d3e065d18440ba86136babda3bc874f9f6d9416bd003387&)
Archived author: Fiur • Posted: 2024-04-21T17:53:13.096000+00:00
Original source
Even tried this but it's telling me that function does not exist for some reason
![[Image: image.png?ex=690c37c9&is=690ae649&hm=658...6bd003387&]](https://cdn.discordapp.com/attachments/415944535718494208/1231664051336118314/image.png?ex=690c37c9&is=690ae649&hm=65843eb6f897d9752d3e065d18440ba86136babda3bc874f9f6d9416bd003387&)
Archived author: Fiur • Posted: 2024-04-21T17:54:02.995000+00:00
Original source
horizWrap and vertWrap sounds like SetTexCoord and filterMode sounds like SetBlendMode
![[Image: image.png?ex=690c37fe&is=690ae67e&hm=44c...5fbec1a24&]](https://cdn.discordapp.com/attachments/415944535718494208/1231664275488243823/image.png?ex=690c37fe&is=690ae67e&hm=44ccf9617a99b49048fc9193c63bf5e28386e2d442556c4cd255a9e5fbec1a24&)
Archived author: intra • Posted: 2024-04-21T17:54:06.474000+00:00
Original source
I'm looking in the 335 addon book and I see both versions used
![[Image: image.png?ex=690c37fe&is=690ae67e&hm=44c...5fbec1a24&]](https://cdn.discordapp.com/attachments/415944535718494208/1231664275488243823/image.png?ex=690c37fe&is=690ae67e&hm=44ccf9617a99b49048fc9193c63bf5e28386e2d442556c4cd255a9e5fbec1a24&)
Archived author: intra • Posted: 2024-04-21T17:54:34.293000+00:00
Original source
top one is the one I mentioned, (file, hwrap, vwrap, filter)
Archived author: Fiur • Posted: 2024-04-21T18:37:44.807000+00:00
Original source
Damn, the book doesn't have this
Archived author: Fiur • Posted: 2024-04-21T18:41:00.001000+00:00
Original source
Thanks
Archived author: Peenlord • Posted: 2024-04-21T18:59:41.385000+00:00
Original source
Hello all! Made myself a model and imported it into the game - everything's gone great, except I have one texture around the waist which is supposed to be semi-transparent (it's got a black texture that is slightly transparent so you can see through it).
I've tried all RenderFlags and BlendingModes, and these two give the best results:
RenderFlag: NotBuffered_Two Sided (20) and BlendingMode: AlphaBlending (2) - This lets the legs behind show through the texture, but the entire semi-transparent texture disappears when I move the camera to different angles.
or
RenderFlag: Two_Sided (4) and BlendingMode: AlphaBlending (2) - This doesn't disappear at all, but doesn't show the legs behind the texture and instead shows what's behind the whole model.
Any help would be appreciated!