Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
538 changes: 167 additions & 371 deletions luarules/gadgets/gfx_energy_explosion_particles_gl4.lua

Large diffs are not rendered by default.

597 changes: 203 additions & 394 deletions luarules/gadgets/gfx_nano_particles_gl4.lua

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion luarules/gadgets/gfx_raptor_scum_gl4.lua
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ elseif not Spring.Utilities.Gametype.IsScavengers() then -- UNSYNCED
vec3 reflvect = reflect(normalize(-1.0 * sunDir.xyz), normal);
float specular = clamp(pow(clamp(dot(normalize(worldtocam), normalize(reflvect)), 0.0, 1.0), SPECULAREXPONENT), 0.0, SPECULARSTRENGTH);// * shadow;
//float specular = clamp(dot(normalize(worldtocam), normalize(reflvect)), 0.0, 1.0);// * shadow;
fragColor.rgb += fragColor.rgb * specular;
fragColor.rgb = texcolorheight.rgb * 0.0 ;

vec3 outcolor = texcolorheight.rgb;

Expand Down
Loading