Giter Club home page Giter Club logo

Comments (8)

BlueSkyDefender avatar BlueSkyDefender commented on June 30, 2024 1

OK Thank you for telling me the game.
Now the update is live.

In the shader line 28 you need to change it from 0 to 1 if you use two of the same shader.

// Determines Slave and Master Shader Toggle. This is used if you want pair this shader up with a other one of the same kind.
// One = Master;
// Zero = Slave;
#define TOGGLE 1

  1. So take one Polynomial_Barrel_Distortion_v1.2.fx

  2. Rename too Polynomial_Barrel_Distortion_v1.2_M.fx

  3. Copy this shader and paste it.

  4. Rename the copy too Polynomial_Barrel_Distortion_v1.2_S.fx,

  5. Open Polynomial_Barrel_Distortion_v1.2_S.fx and go to line 28.

  6. Change One to Zero. From "#define TOGGLE 1" To "#define TOGGLE 0"

from depth3d.

BlueSkyDefender avatar BlueSkyDefender commented on June 30, 2024

Would it be possibile to add the possibily tà to switch between 2 differenti sets of barrel distortion settings using a key?

Ya, It should be possible. I will add to the ToDo list.

I Don't have access to games Matrix to do this for your 2nd Request.

from depth3d.

tk7018 avatar tk7018 commented on June 30, 2024

thank you, as for the second request maybe i misexplained myself.
if i understand correctly the barrel distortion generates a (2 actually) texture that is then processed to generate the distorted view. If this is the technique used, is it possible to rotate the texture before applying the distortion to simulate head roll (a slider adjustable with 2 keys to change value in a range of 180 degrees would be enough for testing purposes)?

from depth3d.

BlueSkyDefender avatar BlueSkyDefender commented on June 30, 2024

Ok, I had time to update PBD. I want to know what game had this problem. So I can test my work around.

from depth3d.

tk7018 avatar tk7018 commented on June 30, 2024

I tried aliens colonoal marines and AVP. I saw the update im goi g to try the new release soon thank you for the update.

from depth3d.

tk7018 avatar tk7018 commented on June 30, 2024

It works flawlessly with colonial marines (i i was in a rush so i could not test other games, but i thhink it will work too)!!!!

from depth3d.

tk7018 avatar tk7018 commented on June 30, 2024

I also saw the rotation option, that more or less what i was trying to expalin you that i needed (sorry for the confusion).
Would it be possible to set the rotation value with an external control (trackir or direct x joystick value) to simulate head roll for vr games (or even create a separate shader that does only that before the 3d or the barrel distortion)?

from depth3d.

BlueSkyDefender avatar BlueSkyDefender commented on June 30, 2024

You need to find a programmer that can give me access to rotation values in reshade so I can add head tracking. As you can see, I am able to the work on the shader side. But, not edit reshade self. At least not yet. I don't have the free time to learn how to edit some thing that complicated. But, since it is open to modification.

You can find some one to make a special version that has access to a program like freepie.

I did ask for this some time ago. https://reshade.me/forum/suggestions/2418-request-to-add-opentrack-compatibility

from depth3d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.