ChaosModV
ChaosModV copied to clipboard
[Effect Suggestion] The Earth Is Round
Name of effect
- The Earth Is Round
- Anti-Flat-Earther
Duration (choose one and replace the corresponding "[ ]" with "[X]")
- [X] Long
- [ ] Short
- [ ] No duration
(medium maybe?)
Effect Description It uses vertex shaders (or whatever they are called in GTA) to offset the position downwards, the further you get from the camera, x² (as an approximation for a sphere, going from the very top)
so if y=down; delta = cameraPosition - vertexPosition, position.y -= factor * dot(delta,delta)
I have shader programming experience, but I have no experience with GTA modding, so I probably couldn't implement it myself
You don't need to do much non-shader stuff for a shader effect.
You could just copy-paste code of one of the existing simpler shader effects and change the hlsl source and effect info