[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/vr/ - Retro Games

Search:


View post   

>> No.3442719 [View]
File: 2.00 MB, 640x360, JigglerSlowRotate.webm [View same] [iqdb] [saucenao] [google]
3442719

>>3442682
I turned it up a little for the video but so far these vertices are jiggling like a DOA tech demo.

All you have do is add one line to main.vp, just one line, it's fantastic.

In gzdoom.pk3, go to shaders/glsl/ and open main.vp, search for "gl_Position = ProjectionMatrix * eyeCoordPos;". Right now it's on line 51. In a new line after it, add

gl_Position.xy = floor(gl_Position.xy/gl_Position.w*(1./0.015))*0.015*gl_Position.w;//The Vertex Jiggler

(Code from http://www.gamedev.net/topic/636769-simulating-ps1-shaky-vertices-with-shaders/?view=findpost&p=5017858))

Set 0.015 lower for less, set it higher for more. Also, this jiggles every vertex which includes menus, HUDs, and HUD messages. Oh well.

Combine it with my RetroShader ( http://forum.zdoom.org/viewtopic.php?f=19&t=53250 ) and PSX Doom.

Wonder if I can replace the multisampling shader with this.

Navigation
View posts[+24][+48][+96]