Mikal's Forum Posts

  • I have not hit a limit yet, but nothing is unlimited on a computer, so I’m sure there’s some limit.

    As you say performance is definitely a consideration. c3 is not built to do high poly count 3D rendering or animation like other 3D first engines.

    Let us know how it works out for you.

  • Ashley, I know this is not a perfect solution, but I found this worked for 3DObject, when applied to each 3DQuad separately (e.g. not after a possible pre-draw, SetDepth() not enabled.)

    This is my Alpha Discard effect, pretty simple, if alpha is below the threshold, discard pixel (so it won't be written to the frame buffer or depth buffer.) It has potential perf implications, so I imagine it would be good to only use it when needed. Since I need to happen before predraw, I added in a separate color and opacity to use if needed.

    uniform lowp float threshold;
    uniform lowp vec3 colorValue;
    uniform lowp float opacity;
    
    /////////////////////////////////////////////////////////
    // AlphaDiscard
    
    //The current foreground texture co-ordinate
    varying mediump vec2 vTex;
    //The foreground texture sampler, to be sampled at vTex
    uniform lowp sampler2D samplerFront;
    
    
    void main(void)
    {
     lowp vec4 frontSample = texture2D(samplerFront, vTex);
     if (frontSample.a < threshold) {
    		discard;
    	} else {
    		gl_FragColor = vec4(colorValue*frontSample.rgb, frontSample.a)*opacity;
    	}
    }
  • This work has been completed:

    construct.net/en/make-games/addons/627/scorm-c3-runtime

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Added issue to review:

    github.com/Scirra/Construct-3-bugs/issues/5319

  • 3.8.75 does not work (spine-ts runtime issue), use a later version. I will add this note to the github page.

  • Looking really good, with nice improvements with the fog.

    You might be interested in my 3D Object plug-in, 3D normal lighting effect, Alpha Discard effect. The 3D normal lighting could be useful for lighting 3D objects, the Alpha Discard effect can help with the transparency issues you see, but I've found it will only work w/ my 3D Object effect, but not with the 3D Shape.

    You can buy it on itch or contact me on Discord and I'll send you a key.

    kindeyegames.itch.io/c3-3dobject-alpha/devlog/322574/experimental-effect-alphadiscard-for-3dobject-billboard-objects

  • Ok, I think we found a case that did not seem to be true, will post in issues, with a simple repro if that turns out to be the case.

  • I was helping someone on Discord debug an issue with an effect addon and realized that images in the sprite sheet may be rotated (eg for more efficient packing.)

    If an effect changes based on orientation (eg vertical vs horizontal) like this trim horizontal effect, we have to either check orientation in the effect or turn on must-predraw.

    Is this a relatively recent change? (R260+)?

    Is the best way to handle it: using must-predraw or are there other better ways to handle using the existing C3 uniforms?

    Of course must-predraw requires an intermediate buffer, which has some perf impact.

  • Hi, do you still need this work to be done?

    I took a look at the plug-in and I can get this ported for you. I am on the Construct Community Discord server: discord.gg/9JaxcR3B as Mikal#1464 or DM me on twitter as twitter.com/kindeyegames

  • If you want to keep your project confidential, let's instead connect on the Construct Community Discord and you can DM me the project (friend me first to DM).

    I am Mikal#1464 on the Discord server.

    Server invite: discord.gg/9JaxcR3B

    Or DM me a link on my Twitter: kindeyegames .

  • That looks like some kind of error reading the GLTF file. Can you share the project, so I can debug?

  • If you are still having issues, the author is on the Construct Community Discord server.

    One suggestion, in the _editor_ opens up the dev console and see if you see any errors regarding the loading of the plug-in when you start the editor (scroll back in the dev console). Also, see what error is reported in the dev console when the project is attempting to load.

  • Added light layer effect to 3DObject itch page, works better with 3DObjects and 3D Shapes. details here:

    kindeyegames.itch.io/c3-3dobject-alpha/devlog/324554/light-layer-3d-effect

  • Added light layer effect to 3DObject itch page, details here:

    kindeyegames.itch.io/c3-3dobject-alpha/devlog/324554/light-layer-3d-effect

  • Have not started on 4.0 yet, but will be looking into it after the holidays. Glad it's working for you at the 3.8 level.

    Originally, I was going to wait for C3 webGPU support to do 4.0, but after discussing with Ashley, at least the first version of C3 webGPU support will limit how we can do Spine tint color, tint dark color. So, now I will focus on 4.0 after the holidays with the current WebGL support.