[Solved] Incbin Mojo2 Textures, How Does It Work?

Community Forums/Monkey Talk/[Solved] Incbin Mojo2 Textures, How Does It Work?

RustyKristi(Posted 2016) [#1]
I'm having a hard time incbinning material textures. I got to checkout some awesome Mojo2 features in BMX. I don't know if it is the same with Monkey but you can load 3 textures (diffuse,normal,spec) in one call if they exists alongside the diffuse texture (at least in my observation).

My problem is I'm trying to incbin these textures but the procedure only has 1 call:

Incbin "data/t3.png"
Incbin "data/t3_NORMALS.png"
Incbin "data/t3_SPECULAR.png"

Local tile:TImage=TImage.Load( "incbin::data\t3.png",0,0 ) <-- Loads all 3

It loads some textures but I think not all. The results are kinda off and different from the normal loaded textures method.

It would seem that Brucey can only answer this question since he did the BMX port, but still it's from Monkey and maybe I can get some info from veteran MXers here.

thanks


xlsior(Posted 2016) [#2]
You are mixing / and \ -- does it still error out if you use the same in both places?


RustyKristi(Posted 2016) [#3]
I tried either way and it's the same results.

[Edit] Finally my friend tried it with a better device and it works great :D