Jump to content
Sign in to follow this  
roberthammer

Little big problem with aimpoint dot

Recommended Posts

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

aimdotok.jpg

Here's the dot how it looks at normal

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

Edited by RobertHammer

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Nwould be useful for self-adjusting ones. When there is clear, dot is red, when its darker, dot is greeen :D

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×