hi folks!
i am loading images from ms and hold it in memory;
it works fine with one texture for one or more geometries.
but what if i want more than one texture for two meshes?
sceGuTexImage sets the current texture, but i wasnt able to find out how to use this fct for two images (the order how i have to call all those functions)
the samples included all use only one texture... so...
i hope one of you knows
greets
lumo
multiple textures with gu in 3d
humm...
i am currently doing those steps:
[sceGuTexImage]
which ends in tuning my psp off.
when i put up the * outside of my while, its working but only with one texture -> i know what you mean but not exactly how.
greets
lumo
i am currently doing those steps:
- setup GU
load my mesh
create texture in vram
load another mesh
create texture for mesh2
put texture1 to vram
put texture2 to vram
enter the while-loop
set up matrices and clear screen
read keys, add light,
*
draw model1
*
draw model2
finish gu
end while
exit
[sceGuTexImage]
which ends in tuning my psp off.
when i put up the * outside of my while, its working but only with one texture -> i know what you mean but not exactly how.
greets
lumo