Skip to content

Commit

Permalink
Status quo
Browse files Browse the repository at this point in the history
  • Loading branch information
lhog committed Sep 7, 2024
1 parent e5650f3 commit fe04e30
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,18 @@ void AddEffectsQuadCamera(
// Placeholder for automatically formed SaveState() function
%s

/*
vec4 PackPosAndRadius(vec3 pos, float rad) {
return vec4(
);
}
*/

void SaveStateInfo(uint idx, vec4 packedData) {
dataInOut[gl_GlobalInvocationID.x].info[idx] = packedData;
}

void main()
{
if (gl_LocalInvocationID.x == 0u) {
Expand Down
2 changes: 1 addition & 1 deletion cont/base/springcontent/shaders/GLSL/ProjFXFragProg.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ void main() {

vec4 color = vec4(mix(c0, c1, vBF));
fragColor = color * vCol;
fragColor = vCol;
//fragColor = vCol;

fragColor.rgb = mix(fragColor.rgb, fogColor * fragColor.a, (1.0 - fogFactor));

Expand Down
2 changes: 1 addition & 1 deletion rts/Rendering/Env/Particles/Generators/ParticleGenerator.h
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ inline Shader::IProgramObject* ParticleGenerator<ParticleDataType, ParticleGenTy

shaderSrc = fmt::sprintf(shaderSrc,
dataStructSS.str(),
saveStateSS.str(),
/*saveStateSS.str()*/"",
dataToFieldsSS.str(),
earlyExitAutoSS.str(),
earlyExit,
Expand Down

0 comments on commit fe04e30

Please sign in to comment.