2D, 3D, game, games, online game, game development, game engine, programming, OpenGL, Open AI, math, graphics, design, graphic, graphics, game development, game engine, programming, web development, web art, web graphic, arts, tutorial, tutorials,
joi, 15 februarie 2024
Shader Editor - example 005.
Today I posted on my instagram three shaders created to be used as phone wallpapers using the Shader Editor Android software option.
Somewhere in my posts I specified that this android application allows you to create shaders and then you can add them as dynamic wallpaper on phone.
The three source codes are open-source and you can test and use them with the android application and they will run very well as wallpapers:
This is a shader that I like as a design because it is relaxing and I put a more feminine color because spring is coming.
#ifdef GL_ES precision highp float; #endif #extension GL_OES_standard_derivatives : enable uniform float time; uniform vec2 resolution; void main( void ) { vec2 uv = 0.5-(gl_FragCoord.xy - resolution * 0.15) / max(resolution.x, resolution.y) * 5.0; uv *= 1.0; float e = 0.0; for (float i=3.0;i<=16.0;i+=1.0) { e += 0.081/abs( (i/11.) +sin((time/1.20) + 0.18*i*(uv.y) *( cos(i/2.10 + (time / 11.0) - uv.y*.4) ) ) + 2.5*uv.x); gl_FragColor = vec4( vec3(e/1.6, e/18.6, e/1.6), 1.0); } }
This is a dynamic sin cos combination
#ifdef GL_FRAGMENT_PRECISION_HIGH precision highp float; #else precision mediump float; #endif uniform float time; uniform vec2 mouse; uniform vec2 resolution; void main( void ) { vec2 p = ( gl_FragCoord.xy / resolution.xy ) -0.5;//+ mouse / 4.0; // float color = 0.0; float sx =cos(0.123*time)*(p.x)*sin(7.6*p.x-0.5*time); float dy =1.1/(1000.*abs(p.y-sx)); float dy2 =(50.*abs(p.y-dy)); float dy3 =(150.*abs(p.y-dy)); gl_FragColor = vec4( vec3( .01, dy*dy3 ,dy2*.1),4); }
This shader has a darker style:
#ifdef GL_ES precision mediump float; #endif uniform vec2 resolution; uniform float time; mat2 m(float a) { float c=cos(a), s=sin(a*1.0); return mat2(c,-s,s,c); } float map(vec3 p) { p.xz *= m(time * 0.1);p.xy*= m(time * 0.1); vec3 q = p * 4.0 + time; return length(p+vec3(sin(time * 0.17))) * log(length(p) + 0.10) + sin(q.x + sin(q.z + sin(q.y))) * 1.8; } void main() { vec2 a = gl_FragCoord.xy / resolution.y - vec2(0.5, 0.5); vec3 cl = vec3(0.0); float d =0.15; for (int i = 0; i <= 5; i++) { vec3 p = vec3(0, 0, 4.0) + normalize(vec3(a, -1.0)) * d; float rz = map(p); float f = clamp((rz - map(p + 0.1)) * 0.5, -0.1, 1.0); vec3 l = vec3(0.1, 0.3, 0.44) + vec3(1.5, 1.0, 1.0) * f; cl = cl * l + smoothstep(0.5,0.31, rz) * 0.16 * l; d += min(rz, 1.0); } gl_FragColor = vec4(cl*8.0, 1.0); }
Posted by
Cătălin George Feștilă
Labels:
2024,
3D,
3d software,
android,
shader,
Shader Editor,
tutorial,
tutorials
miercuri, 14 februarie 2024
News : ... about new about Google Analytics 4.
I found at Google.com analytics academy this message that urges us to go through the courses from the skillshop.exceedlms.com website.
It seems to pass this is quite important if they offered free courses:
These courses are about Universal Analytics. Starting July 1, 2023, standard UA properties will stop processing data (July 1, 2024 for UA 360 properties). Learn about Google Analytics 4, our next-generation measurement solution, with these free courses on Skillshop.
Star Trek Online : ... its 14th anniversary!
Star Trek Online is having its 14th anniversary.
... and you can earn a free Khitomer Alliance Rex T6 Ship.
luni, 12 februarie 2024
duminică, 11 februarie 2024
vineri, 9 februarie 2024
A video about restored a Roman temple ...
... a video about how is restored a Roman temple using the CGI from hbitproject video channel.
Posted by
Cătălin George Feștilă
Labels:
2024,
3D,
CGI,
design,
graphics,
video,
video tutorial,
youtube
News : The DSL 2024.
The New DSL 2024 has been reborn as a compact Linux distribution tailored for low-spec x86 computers. It packs a lot of applications into a small package. All the applications are chosen for their functionality, small size, and low dependencies. DSL 2024 also has many text-based applications that make it handy to use in a term window or TTY.
See this webpage.
News : Skull and Bones open beta free ...
The open beta is live February 8–11. Be among the first to enter the perilous world of Skull and Bones, a co-op pirate open world action-RPG experience, to become the most infamous pirate captain! Engage in thrilling naval battles, forge alliances with other pirates, craft a variety of unique ships, and overcome the odds as you bring mayhem to the high seas.
You can see the video trailer from Ubisoft because the video from Epic Games is available only on youtube ... :
joi, 8 februarie 2024
Abonați-vă la:
Postări (Atom)