Post: 2 new dvars, shader for menu?
04-06-2012, 09:08 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hello Nextgenupdate I Found 2 new dvars to show you. It puts the rebug square On Your Screen when you turn towards the sun light.
So What I was thinking was make a string somert like were your player turns left towards the sun then it opens the menu and the rebug square acts as a Background shader!


set r_sun_from_dvars "1"
set r_useLayeredMaterials "1"

And After When You Exit The Menu Put:


set r_sun_from_dvars "0"
set r_useLayeredMaterials "0"



Have a Nice day Nextgenupdate
(adsbygoogle = window.adsbygoogle || []).push({});
04-08-2012, 07:30 PM #11
Originally posted by Kush
I still dont get how that would change anything with these dvars.


the sun faces at 90 degrees, you will need to find that angle by doing it every 90 degrees.
the reflection and position of the sun is down to that dvar that i said. it changes its angle on where it shines.
04-08-2012, 08:03 PM #12
Kush Friendly
League Champion
Originally posted by ViiPeR View Post
the sun faces at 90 degrees, you will need to find that angle by doing it every 90 degrees.
the reflection and position of the sun is down to that dvar that i said. it changes its angle on where it shines.


:lol: I know that, but that doesnt effect r_sun_from_dvars or r_useLayeredMaterials. So you still have to be looking one my for the menu shader to work.
04-09-2012, 01:36 PM #13
Originally posted by Kush
:lol: I know that, but that doesnt effect r_sun_from_dvars or r_useLayeredMaterials. So you still have to be looking one my for the menu shader to work.


sun_from_dvars should effect the sun because you have to be facing a certain amount of degrees for the shader to move.
04-09-2012, 02:26 PM #14
Kush Friendly
League Champion
Originally posted by ViiPeR View Post
sun_from_dvars should effect the sun because you have to be facing a certain amount of degrees for the shader to move.


I tried it and its the same effect, the sun is just at a different angle.
04-09-2012, 03:42 PM #15
Originally posted by Kush
I tried it and its the same effect, the sun is just at a different angle.


thats what its ment to do, thats why i said every 90 degrees, you cant move the sun. its impossible.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo