PDA

View Full Version : Little big problem with aimpoint dot



RobertHammer
Oct 25 2009, 06:30
Hello,
Spotted this "bug" while testing new weapons and i can't fix it somehow :(
Problem is - when you enter or walking in the shadow (building or tree) , the aimpoint dot changes colour from red to green! When you go outside of shadow aimpoint dot returns to the normal red
http://img32.imageshack.us/img32/760/aimdotok.jpg
Here's the dot how it looks at normal
http://img32.imageshack.us/img32/9541/aimdotprob.jpg
and here you see the change (while you walking in the shadow)
I know it is rvmat problem ,but am using A2 dot rvmat
ambient[] = {0.0, 100.0, 0.0, 1.0};
diffuse[] = {0.0, 0.0, 0.0, 1.0};
forcedDiffuse[] = {1.0, 1.0, 1.0, 0.0};
emmisive[] = {1.0, 1.0, 1.0, 1.0};
specular[] = {0.0, 0.0, 0.0, 1.0};
specularPower = 1.0;
renderFlags[] = {"AddBlend"};
PixelShaderID = "Normal";
VertexShaderID = "Basic";
I have tryed all combinations of render flags like NoZWrite or NoAlphaWrite and no luck :(
btw on bis aimpoint or holo the problem is not there , so i maybe using wrong rvmat or something , if you know about this problem , pls help me :D

RobertHammer
Oct 25 2009, 08:28
nvm lol i got it fixed thank god :D
that point.rvmat is for green kobra dot and i finded the right one for aimpoint dot/holo and that is kolimator.rvmat - no more colour change in the shadows :p

Kristian
Oct 27 2009, 16:02
Nwould be useful for self-adjusting ones. When there is clear, dot is red, when its darker, dot is greeen :D