Jump to content
Sign in to follow this  
toadball

Illuminated Reticle Query

Recommended Posts

Hello,

I'm trying to wrap my head around doing an illuminated reticle, I have an RVMat that will produce the illuminated tip on the reticle however, my aim is for that to be only illuminated in the dark.

Having had a gander over both the A2 and A3 editing sections I've found some good information but not what I'm looking for.

If anybody could provide a layman's guide to setting them up, or point me in the direction of appropriate documentation I'd greatly appreciate the help.

Share this post


Link to post
Share on other sites

Are you using 2D or 3D optics?

I'm using this on my 3D Lightweight Day Sight crosshair, and it works okay:

ambient[] = {0, 0, 0, 1};
diffuse[] = {0, 0, 0, 1};
forcedDiffuse[] = {0, 0, 0, 1};
emmisive[] = {100, 100, 100, 1};
specular[] = {0, 0, 0, 0};
specularPower = 1;
PixelShaderID = "Normal";
VertexShaderID = "Basic";

Reticle appears black in the day and the red parts glow at night.

Share this post


Link to post
Share on other sites

Thanks, this appears to have gotten close to what I was looking for: http://i.imgur.com/i90DaFL.png

As the screenshot shows, working on a 2D optic at present, I may dabble with a 3D optic at some point in the future though.

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  

×