AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   Solved [CSS] Is there a way to map the player's screen to the lens of a weapon's scope? (https://forums.alliedmods.net/showthread.php?t=347171)

cjsrk 04-09-2024 12:51

[CSS] Is there a way to map the player's screen to the lens of a weapon's scope?
 
2 Attachment(s)
I know you can do this in CSGO and even L4D2. As long as the value of the "basetexture" item in the vmt file of the lens is changed to _rt_SmallFB1 or _rt_FullFrameFB (it seems that _rt_Camera will also work), the lens can map the player's screen (of course, the display of the v_model will be ignored), and even Supports dynamic in-mirror magnification effect.
I wonder if it's possible with CS Source to do this? Even if the CSS shader doesn't support it well, can a plugin help achieve this effect?

fi0r1 04-11-2024 01:34

Re: [CSS] Is there a way to map the player's screen to the lens of a weapon's scope?
 
The old engine used by Counter Strike: Source does not support those shader rendering, you can take a look at this link, which should be a similar solution to your problem.
https://github.com/fi0r1/sm-rt_camera

cjsrk 04-12-2024 13:10

Re: [CSS] Is there a way to map the player's screen to the lens of a weapon's scope?
 
3 Attachment(s)
Quote:

Originally Posted by fi0r1 (Post 2820775)
The old engine used by Counter Strike: Source does not support those shader rendering, you can take a look at this link, which should be a similar solution to your problem.
https://github.com/fi0r1/sm-rt_camera

Thank you very much. I have successfully implemented the dynamic scope of CSS with the code linked here and the help of the code author. The ADS plugin will be updated in the future.


All times are GMT -4. The time now is 06:35.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.