AmbientShadow.fx?

This forum is currently in read-only mode.
  • Hi,

    I noticed this Ambient Shadow FX on the effects list. How to use it, and how does it works?

  • David?

  • David's been missing for almost a week. Don't know where he is.

    Also, I've never used that effect, sorry . My best advice is just experiment with it.

  • I tried soften + ambient shadows.. Nothing happen I think I'll read the FX file, so I can understand what does it do and how to use it.

  • technique ConstructEffect

    {

    pass p0

    {

    VertexShader = null;

    PixelShader = compile ps_3_0 EffectProcess();

    }

    }

    Pixel Shader 3.0 ??

    That's why someone says it doesn't work. I don't have PS3.0 in my netbook! But PS3.0 is needed because PS2.0 have a low limit of arithmetic operations.

    So, if someone uses this effect, the game can only be played on newest hardware.. But it's ok, there can be settings inside the game, so the player can choose whether to have a more advanced graphics, or a bit less.

  • nah

    it doesnt work anyway

    i have pixel shader 3.0

    and davo gave me step by step instructions in chat and i couldnt get it to show anything on screen, neither could anyone else in chat that day. he said he wasnt sure why it didnt work.

    not sure why he released it though.

  • I don't know how to use it, so I don't know if it will work properly if you do this, but you could try changing this:

    PixelShader = compile ps_3_0 EffectProcess();[/code:1ip020iw]
    to this:
    [code:1ip020iw]PixelShader = compile ps_2_a EffectProcess();[/code:1ip020iw]
    I know for a fact that Construct supports PS2a, which supports a much larger amount of arithmetic operations, so it might work.
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'll explain how to use it if anyone can tell me it works at all

    put the effect on this sprite:

    <img src="http://dl.dropbox.com/u/1013446/squares.png">

    and tell me if you see anything at all

  • Yep:

    <img src="http://dl.dropbox.com/u/529356/newsquares.PNG">

    But I also have David's 0.83 fixes for new shaders and stuff. That's probably why it's not working for Genesys. You're probably just going to have to wait for 0.83 to come out

  • thats great news deadeye

    seriously, the final look of my game would be severely compromised without this effect

  • Yep:

    But I also have David's 0.83 fixes for new shaders and stuff. That's probably why it's not working for Genesys. You're probably just going to have to wait for 0.83 to come out

    I dont have Davo's update, and thats exactly how its always worked for me.

    Basically like a bumpmap for dropshadows...?..?

  • Well then I don't know what it could be. Leprechauns, maybe?

    Seriously though I don't know.

  • exactly a heightmap for dropshadows

    I changed it to 2_a

    and got it to work, I'm not sure if it's because it's really supposed to be 3_0

    but it doesn't work totally correctly

    the heightmap only determines whether or not to display the shadow

    but the shadow doesn't get any larger or more diffuse with distance

  • Check your fps on that, every time I use it it goes way down.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)