Giter VIP home page Giter VIP logo

Comments (5)

hizzlekizzle avatar hizzlekizzle commented on July 29, 2024

Whether you donate or not, this is a simple slang shader that can flip them:

#version 450

layout(push_constant) uniform Push
{
	vec4 SourceSize;
	vec4 OriginalSize;
	vec4 OutputSize;
	uint FrameCount;
} params;

layout(std140, set = 0, binding = 0) uniform UBO
{
	mat4 MVP;
} global;

#pragma stage vertex
layout(location = 0) in vec4 Position;
layout(location = 1) in vec2 TexCoord;
layout(location = 0) out vec2 vTexCoord;

void main()
{
   gl_Position = global.MVP * Position;
   vTexCoord = TexCoord;
}

#pragma stage fragment
layout(location = 0) in vec2 vTexCoord;
layout(location = 0) out vec4 FragColor;
layout(set = 0, binding = 2) uniform sampler2D Source;

void main()
{
   vec2 flipcoord = vTexCoord.xy;
   flipcoord.x = (vTexCoord.x > 0.5) ? vTexCoord.x - 0.5 : vTexCoord.x + 0.5;
   FragColor = vec4(texture(Source, flipcoord).rgb, 1.0);
}

from beetle-vb-libretro.

wickjames086 avatar wickjames086 commented on July 29, 2024

Would you believe me if I said I had no idea how to implement that?

from beetle-vb-libretro.

hizzlekizzle avatar hizzlekizzle commented on July 29, 2024

Ok, here are slang and glsl shaders and presets for it:
http://www.mediafire.com/file/p0nndmq0718sdbq/flip-eye-shaders.zip
Download that and put the resulting folder into your 'shaders' folder, then go to quick menu > shaders > load shader preset and load it (it'll only show the one that's appropriate for your current video driver)

from beetle-vb-libretro.

wickjames086 avatar wickjames086 commented on July 29, 2024

Thank you so much for making it easy :)

Iā€™m just a simple man who wants to play Vertical Force.

edit: It totally works!
File_001
Just a one-time payment btw.

from beetle-vb-libretro.

hizzlekizzle avatar hizzlekizzle commented on July 29, 2024

dang, $50 :O That wasn't necessary, but we definitely appreciate it. Hope you have fun with the 3D-ness :)

from beetle-vb-libretro.

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.