@Calgon
(x) Porthole
https://bit.ly/4grZlTq
This is a Very Nice Scene. Yes it's a bit heavy on the GPU rendering..
I couldn't resist...
I made a 3D SBS version, and sent you a Link to test out..
( I won't release my 3D Mod, but if you like it, feel free to tweak it and share your results..)
void mainImage( out vec4 fragColor, in vec2 fragCoord )
{
// Define the interocular distance (adjust this value as needed)
float interocularDistance = 0.01; // Positive value for demonstration
// Compute normalized coordinates for the current pixel
vec2 uv = fragCoord.xy / iResolution.xy;
// Determine if the pixel belongs to the left or right eye
bool isLeftEye = fragCoord.x < (iResolution.x / 2.0);
// Adjust the UV coordinates for left or right eye
if (isLeftEye) {
// Left half of the screen
uv.x = (fragCoord.x / (iResolution.x / 2.0)); // Map from [0, 1]
} else {
// Right half of the screen
uv.x = (fragCoord.x - (iResolution.x / 2.0)) / (iResolution.x / 2.0); // Map from [0, 1]
}
// Adjust UV coordinates to range from -1 to 1
uv = uv * 2.0 - 1.0;
uv.y *= iResolution.y / iResolution.x; // Adjust y for aspect ratio
// Define the camera origin with interocular distance applied
vec3 eyeOffset = isLeftEye ? vec3(-interocularDistance, 0.0, 0.0) : vec3(interocularDistance, 0.0, 0.0);
vec3 ro=vec3(sin(iTime*.2+sin(iTime*.2)*.2),sin(iTime*.2+sin(iTime*.1)*.1),5.)+ eyeOffset;
WA_3D_SBS\WA_3D_SBS_XTREM.scn
//// 3D SBS MOD by WyldAnimal
//// Left EYE Scene Wrapper by WyldAnimal
framebuffer {// Left EYE View
/////////////////////////////////////////////////////////////////////////////////////////////////
//////// Wrap the entire scene into a frame buffer and a Quad.
/////////////////////////////////////////////////////////////////////////////////////////////////
id: Left-EYE-Scene
size: 1920, 1080
quad {// left Quad
size: 1920, 1080
hotspot: 0,0
camera { //open the Left Camera
type: 2D
id: main
As a free user of iStripper, you are not allowed to answer a topic in the forum or to create a new topic.
But you can still access basics categories and get in touch with our community !