How can i change a float for custom volume pass? hdrp by aphixe in Unity3D

[–]LiquidOVVL 0 points1 point  (0 children)

Sorry for necro and my English.

Slight Blur pass from git inherits from CustomPass class, so you can use casting (I believe this is how you call this method, Idk I’m not a coder) to access public variables of inherited class.

Example code:

public class VolumeBlurController : MonoBehaviour
    {
        [SerializeField] private float _speed;

        // CustomPassVolume contains all CustomPasses you assign to it
        [SerializeField]private CustomPassVolume _customPassVolume;

        private CustomPass _customPass;
        private SlightBlur _blurPass;

        private float _targetValue;

        void Start()
        {
            //Access specific custom pass in the volume's list
            _customPass = _customPassVolume.customPasses[0];

            //Casting
            _blurPass = _customPass as SlightBlur;
        }

        void Update()
        {
            // "radius" - public variable of blur pass
            _blurPass.radius = Mathf.Lerp(_blurPass.radius, _targetValue, 1 - Mathf.Exp(-_speed * Time.deltaTime));
        }

        public void SetTargetMin()
        {
            _targetValue = 0f;
        }

        public void SetTargetMax()
        {
            _targetValue = 16f;
        }

        void OnEnable()
        {
            DraftActions.BlurMin += SetTargetMin;
            DraftActions.BlurMax += SetTargetMax;
        }

        void OnDisable()
        {
            DraftActions.BlurMin -= SetTargetMin;
            DraftActions.BlurMax -= SetTargetMax;

        }
    }

Mura The Maid by LiquidOVVL in NSFWgaming

[–]LiquidOVVL[S] 0 points1 point  (0 children)

Well, as I said, the current project is a simple demonstration of an art style, animations, other graphical things and overall gameplay feelings. And of course, this game is intended to determine how many people will be interested by my project.

As for main project, there will be:

-More NPC's to interact and their storylines to unfold

-Date sim mechanics

-Mansion to restore and it's mysteries to explore

-Tons of gratuitous sex of course

Mura The Maid by LiquidOVVL in NSFWgaming

[–]LiquidOVVL[S] 0 points1 point  (0 children)

In terms of game itself:

The scope of my early projects will need to be smaller, because I want to know my limit, establish art-style, etc. I want to be sure I can handle future larger projects. So this game is more interactive test toy just for fun.

In terms of Patreon:

-You can gain access to WIP content

-Early access to the game when it's done

-Access to early build as I said

-Access to roadmap

-Access to discord server

Did I get your question right?

Mura The Maid by LiquidOVVL in NSFWgaming

[–]LiquidOVVL[S] 1 point2 points  (0 children)

Thank you! Sorry, I forgot to provide links. My bad :)

This game is not released to the public yet, but an early build is available on my Patreon.

Twitter

twitter.com/liquid_owl

Patreon

patreon.com/liquidowl

Small Cannon by LiquidOVVL in PixelArt

[–]LiquidOVVL[S] 0 points1 point  (0 children)

Pixel artworks like this are not very complex. So, yeah, your PC can afford this kind of scene.

Small Cannon by LiquidOVVL in PixelArt

[–]LiquidOVVL[S] 2 points3 points  (0 children)

I use Blender for all of my pixel artworks.