Login / Registrieren
DE EN FR ES IT CZ

Search Result

  • [SOLVED] Value to Shader Uniform

    I am using a Shader and want it to be affected by a Value outisde of the Script, a Value which my Protagonist has. How can I translate such a Value into an Int or Float inside a Shader Script? I would suppose it has to do with the "uniform" command, but I am not sure on the exact Implementation.

    by caligarimarte, 10 years ago

    7
    0
    caligarimarte 10 years ago
  • RE: Shader movements and lagy text

    I was talking about how it normally follows the character around when the character walks near to the edge of the current viewport & then the camera shifts over to try to center the camera on the character. This is the ScrollPosition. It has nothing to do with the shader.

    by afrlme, 10 years ago

    9
    0
    afrlme 10 years ago
  • RE: Shader movements and lagy text

    I'm sorry i still don't really know what you mean, could you please describe it a bit more?Isn't that followCharacter function also shader?

    by ke4, 10 years ago

    9
    0
    ke4 10 years ago
  • RE: Shader movements and lagy text

    You are forcing the text position with the registerHookFunction, no? It looks like it's trying to fight with that. The action text at the mouse cursor seems to be displaying just fine in the video. You could probably emulate the same thing without using the shader you know... if the background is larger than the default game resolution then you should be able to disable camera follow character & update the scrollposition in the same way that the viewport works & because you aren't messing with the shader the text should remain exactly where you place it on the screen - in theory at least.

    by afrlme, 10 years ago

    9
    0
    afrlme 10 years ago
  • RE: Shader movements and lagy text

    Looks like it's trying to compensate for the movement of the camera. You could try allowing the shader stuff to affect only the cursor temporarily as it doesn't look like you have any other shader effects active. The text will swing with the camera movement, but it might look smoother & I don't think it matters all that much seeing as you aren't displaying it inside of a box or anything.

    by afrlme, 10 years ago

    9
    0
    afrlme 10 years ago
  • RE: Shader movements and lagy text

    Could you share a video recording of it? & quick question: have you disabled the shader from affecting interfaces, mouse cursors & text?

    by afrlme, 10 years ago

    9
    0
    afrlme 10 years ago
  • Shader movements and lagy text

    Hi,i used the shader [i]shaderViewport[/i] to get this [b]"hand camera"[/b] effect. I'm doing scene in a plane and i'm trying to break the static feeling, looks great however when text is being shown or hotspot animation it's lagy as the engine is trying to calculate the position i guess. It's centering everything else smoothly though. ( including action text ) Is there something to do about it?thanks.

    by ke4, 10 years ago

    9
    0
    ke4 10 years ago
  • RE: Where is my family, point and click game

    I dont know if a fullscreen animation is it worth regarding performance. Your video seemed very laggy and it could be because of the animation... There is a "wave like" shader for the shader part of the engine available. maybe this would solve the issue... just an idea ^_^

    by sebastian, 10 years ago

    63
    0
    sebastian 10 years ago
  • RE: crash when edit graphic

    Maybe graphics card related then. I think Invalid Framebuffer is an error / warning that a lot of us get. I believe it's to do with the openGL shader stuff that Simon updated since 4.2.1 & 4.2.5.Hopefully the upcoming new editor will solve a lot of people issues, I don't know how long until it will be ready to release though. Only Simon can say for sure, but it might take a little longer as his todo list of features & bugs is constantly increasing.

    by afrlme, 10 years ago

    9
    0
    afrlme 10 years ago
  • RE: High CPU usage after graphic card drivers update

    The issue with the constantly recreating framebuffer is known and I thought it's fixed in 4.2.5. The "no uniform pass in shader" is not an error. Also the warnings in the log are okay. So I can only postpone this to the new gui which will fix a lot of problems :D

    by SimonS, 10 years ago

    9
    0
    SimonS 10 years ago