compvis
02-08-2009 06:30:18
hi,
I want to display a crosshair texture to replace the default pointer. I replace contents in the core_pointer.xml by:
And, material file "KlinkPointer_Material" is:
And CrossHairs.png is:

But i have nothing displays. No mouse on screen...
Pls help ...
I want to display a crosshair texture to replace the default pointer. I replace contents in the core_pointer.xml by:
<?xml version="1.0" encoding="UTF-8"?>
<MyGUI type="Pointer">
<Pointer layer="Pointer" material="KlinkPointer_Material" size="64" default="Klink">
<Info name="Klink" point="0 0" offset="0 0 64 64"/>
</Pointer>
</MyGUI>
And, material file "KlinkPointer_Material" is:
KlinkPointer_Material
{
technique
{
pass
{
lighting off
scene_blend modulate
depth_check off
texture_unit
{
texture CrossHairs.png
}
}
}
}
And CrossHairs.png is:
But i have nothing displays. No mouse on screen...
Pls help ...