Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finish implementation of distortion shader #1

Open
russell-taylor opened this issue Jan 11, 2015 · 5 comments
Open

Finish implementation of distortion shader #1

russell-taylor opened this issue Jan 11, 2015 · 5 comments

Comments

@russell-taylor
Copy link
Contributor

We need a .glsl file for the vertex and fragment shader for the Undistort_Shader class to read.

We need to finish the parameters for the shader.

We need to set the parameters and test all this.

We need to hook the shader into the calibration program, so that you can toggle to a view that renders using that shader with the current parameters.

We might want a simple sample application that renders a scene using the shader.

@rpavlik
Copy link
Member

rpavlik commented Feb 18, 2015

Is an HLSL (for DirectX) version also feasible?

@rpavlik
Copy link
Member

rpavlik commented Feb 18, 2015

cc @yboger

@russell-taylor
Copy link
Contributor Author

I don't see why not. I don't know DirectX, so am probably not the person to do this. Always glad to learn new things...

@gfrolov gfrolov mentioned this issue Feb 23, 2015
@JeroMiya
Copy link

I also need an HLSL version of the distortion shaders for OSVR-MonoGame. Preferably in the form of a .fx file with the technique defined as well.

@DuFF14
Copy link
Member

DuFF14 commented Apr 14, 2015

OsvrDistortion.shader in the Unity project should be very close to an HLSL version. Unity shaders use Cg, which is almost syntactically identical to HLSL. Maybe just remove the lines with CGINCLUDE, CGPROGRAM, etc..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants