Pages

joi, 10 august 2023

Graphics programming - Unity 3D shaders - 005.

If you working with shaders and you get this error
Shader error in '': Parse error: syntax error, unexpected TVAL_ID
Go to console area and find where is the line of source code ...
Shader error in '': Parse error: syntax error, unexpected TVAL_ID at line 15
In my case was an old defined source code ZWriteoff, after I change it with ZWrite Off the shader is compileted.

Godot : Fix error on godot 4.1.1. mono with C#.

If you want to use Godot mono with C# on Windows O.S. then you need to download it and follow the steps from the official website.
One step need to use the .NET version and sometime can have an error like this when you try to build the project:
Exception: "NuGet.Packaging.Core.PackagingException: Unable to find fallback package folder ...
Go to your mono folder and create the GodotNuGetFallbackFolder on this path:
C:\Users\YOUR_username\AppData\Roaming\Godot\mono
I build the project and works well:
Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:02.54

News : Flashback 2 - New Washington Trailer .

... to New Washington, Conrad! The dystopian megalopolis awaits for you in Flashback 2, available on November 16th on the Epic Games Store!

News : GTA 6 is not for kids.

Many of the games put out by Rockstar Games are ESRB rated M (Mature 17+ only). Most of the games include: sex, nudity, violence, drugs/drug use, alcohol use, tobacco smoking, and lot of other things.

miercuri, 9 august 2023

News : Inkscape 1.3: HUGE Updates .

News : I Am Future - Early Access Launch Trailer.

News : Dead by Daylight - Alien Official Trailer | PS5 & PS4 Games

Shader Editor - example 004.

Another example with the Shader Editor android application, this time simpler:
This shader displays some concentric circles that change their colors according to a sine and cosine formula.
This is the source code for the shader:
#ifdef GL_FRAGMENT_PRECISION_HIGH
precision highp float;
#else
precision mediump float;
#endif

uniform vec2 resolution;
uniform float time;

void main(void) {
 float mx = max(resolution.x, resolution.y);
 vec2 uv = gl_FragCoord.xy / mx;
 vec2 center = resolution / mx * 0.5;
 float t = time * 10.0;

 gl_FragColor = vec4(cos(t+distance(uv, center) / 222.0)+1.0,
  vec2(sin(t - distance(uv, center) * 76.0)) * 10.5,
  1.0);
}

luni, 7 august 2023

Blender 3D : Sapling Tree Gen addon ...

This addon can be found on the Blender 3D software on addons area. This addon don't work on Blender 3D version: 4.0 .

News : Date Z - announce trailer ...

duminică, 6 august 2023

Blender 3D : Fix error : Bone Heat Weighting: failed to find solution for one or more bones

When auto weighting is not working and you get this error: "Bone Heat Weighting: failed to find solution for one or more bones" , then you may have some solutions to fix it.
See this video from CGDive about how can fix it:

News : Convert anything to Minecraft Blocks with BlockBlender 1.4

This addon named BlockBlender version 1.4 can help you to convert to Minecraft Blocks, see more on Joey Carlino's youtube channel.
You can find a free version on Gumroad website.