Author Topic: Rounded "earth" shader/thing?  (Read 1421 times)

like animal crossing or something

where everything kind of just bends below the horizon.

while i've seen this done in other games as shader mods, i dont know if the same can be said for blockland

this would be so cool

/yesplease

scout67 or w/e his name was did this already, but it was patched and no longer works apparently

ive seen something like this in the mega screenshot topic

ive seen something like this in the mega screenshot topic
That was a high FOV.

That was a high FOV.
maybe this would work instead of a shader modification

Tophius was playing around with shaders in this DOF megathread post, which can make a rounded earth like effect, but it isn't perfect; bricks won't be fully on the ground with them being either half buried or floating, but nevertheless can make a good looking effect.

This is what he did:
put
Code: [Select]
worldPos.z -= pow(viewDelta.w*0.02, 2.5);
just before
Code: [Select]
gl_Position = gl_ProjectionMatrix * world2Cam * vec4(worldPos, 1.0f);
in minimum_vert.glsl and/or renderCsm_vert.glsl

change the '-' into a '+' to invert the effect. change the exponent (in this case 2.5) to increase or decrease the curvature. 1.5 to 2.5 is good. I did say it was simple :p


If you can't figure it out, just use this file and replace it with the one you currently have in the shaders folder. You can either make it read only if you want to keep it on longer, or just copy and paste the text in the file with blockland already open and switch shaders to at least low to use it as a temporary demo that'll be reset back to normal after you close blockland.

but it isn't perfect; bricks won't be fully on the ground with them being either half buried or floating, but nevertheless can make a good looking effect.
i'm assuming that doesnt matter if the ground isnt important to the build eh?


HERE: http://forum.blockland.us/index.php?topic=77967.msg7784252#msg7784252

the pics happened to be from my server lol, but not my build of course. credits to sylvanor and sleven for awesome seattle build

i wonder if it can curve so steep that it loops behind you and back in front of you.

i wonder if it can curve so steep that it loops behind you and back in front of you.
it would blow my mind if the current shaders are capable of that

i wonder if it can curve so steep that it loops behind you and back in front of you.
then use invisible teledors to make an infinite map

i wonder if it can curve so steep that it loops behind you and back in front of you.

[im width=800]http://puu.sh/bdHdN/18b7f82b5a.png[/img]
omg yes. tell us how to do et