vec3 GetNormal(vec2 p, float s)I'm surprised it didnt add hsv2rgb as its quite common function. You could ask it to write the function seperatly and see what it barfs up.
{
vec3 dx = vec3(s / textureSize0.x, 0.0, (texture2D(texture0, p.xy + vec2(s / textureSize0.x, 0.0)).rgb - G.rgb) * 0.5);
vec3 dy = vec3(0.0, s / textureSize0.y, (texture2D(texture0, p.xy + vec2(0.0, s / textureSize0.y)).rgb - G.rgb) * 0.5);
vec3 normal = normalize(cross(dx, dy));
return normal;
}
You could ask it to write the function seperatly and see what it barfs up.
write a function to convert a hue-saturation-value color to an RGB color in GLSL
Here is one way you could implement a function to convert a hue-saturation-value (HSV) color to an RGB color in GLSL:vec3 hsv2rgb(vec3 hsv) {
// Convert hue to RGB
vec3 rgb = abs(mod(hsv.x * 6.0 + vec3(0.0, 4.0, 2.0), 6.0) - 3.0) - 1.0;
// Calculate saturation and value
float sat = hsv.y;
float val = hsv.z;
// Multiply the RGB values by the saturation and value
rgb = sat * rgb + (1.0 - sat) * vec3(val);
// Return the RGB color
return rgb;
}
This function takes in a 3-dimensional vector hsv containing the hue, saturation, brightness value
vec3 hsv2rgb(vec3 c)
{
vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);
vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);
return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);
}
// Original obtained from ShaderToy.com
// Adapted, from https://www.shadertoy.com/view/fstyD4 by Calgon
// Author: bitless
// Title: Coastal Landscape
// Thanks to Patricio Gonzalez Vivo & Jen Lowe for "The Book of Shaders"
// and Fabrice Neyret (FabriceNeyret2) for https://shadertoyunofficial.wordpress.com/
// and Inigo Quilez (iq) for https://iquilezles.org/www/index.htm
// and whole Shadertoy community for inspiration.
@Calgon , The way you have reconstructed the Coastal.fsh code to overlap the model 's feet or have
her rise up from the grass is wonderful.
Much admire your work on this ..thanks lots for that👌 😎
Merci beaucoup @EverthangForever@ComteDracula Joyeux Noël & merci pour tout votre soutien en 2022😊
You and other creators are really helping to make iStripper a better program artistically.
That's a good idea. Some cage only scenes . Any thoughts on a theme ?
That's a good idea. Some cage only scenes . Any thoughts on a theme ?Emu was interested in them because cage & pole kept the model in a predictable .scn pos
@Number6
If you really want older cards then do something with "cage" clips. None of the new cards feature the cage.😀
That's a good idea. Some cage only scenes . Any thoughts on a theme ?😜
作为iStripper 的免费用户,您不能在论坛中回答话题或创建新话题。
但您仍然可以访问基本类别并与我们的社区取得联系!