Working env mapping script

Posted By: the_mehmaster

Working env mapping script - 07/08/09 21:19

If this should be in 'user requests' i ask a mod to move it.

I need a working fft environment mapping script, with the fx files.
Thanks.

P.S: Attempted using the .fx on the wiki, with no success.
Posted By: the_mehmaster

Re: Working env mapping script - 07/10/09 05:41

No-one?

Does environment mapping even work with A7 extra?
Posted By: MMike

Re: Working env mapping script - 07/10/09 12:16

but the wiki, should work., Check in the Gamestudio start page if shaders are Pro feature?

other wise could be display problems, what do you see anyway? a blackcolor?
Posted By: Cowabanga

Re: Working env mapping script - 07/10/09 13:58

Shaders only works with Gamestudio Commercial and Pro.
Posted By: the_mehmaster

Re: Working env mapping script - 07/10/09 21:09

@Cowabanga: I thought that Fixed function effects worked with lower editions, as it says in the wiki:
Quote:
are working with all gamestudio editions

@MMike: The geometry is displayed normally. Maybe there is a fallback?
Posted By: MMike

Re: Working env mapping script - 07/11/09 00:56

geometry- ok that just means the vertex shader is okay, but the pixel shader ( the color part with paints objects of the shader) its black? i mean you see the environment map black? or with colors, but not showing the real reflection?

Anyway there is no fallback on that shader. so you should see black, or the reflection.

Posted By: the_mehmaster

Re: Working env mapping script - 07/12/09 00:04

What i see is the normal texture, as if no shader has been applied to it. That is why i would like a working project that i can base mine on, so i can be sure that it isn't my syntax causing the issue.
Posted By: MMike

Re: Working env mapping script - 07/12/09 00:27

ok you will have to wait till a shader expert says something.
si the effect being loaded by the way?
you know.

my.material=mtl_environment;
Posted By: the_mehmaster

Re: Working env mapping script - 07/12/09 00:40

I assigned the material via WED. I'll try your way and see what happens.
Posted By: the_mehmaster

Re: Working env mapping script - 07/12/09 03:21

Nope, no success.
Posted By: lostclimate

Re: Working env mapping script - 07/12/09 07:12

include mtlFX.c or .h or something like that from the templates, cant remember what it is, but it has a envmap shader. in it, its what i am using for fish food on the fish temporarily.
Posted By: the_mehmaster

Re: Working env mapping script - 07/13/09 05:55

No, didn't work. Is it something to do with the fact that it is a .hmp that the shader is applied to?
Posted By: MMike

Re: Working env mapping script - 07/13/09 12:48

could someone complile a shader environment, so he/she can execute, and see if its code, or hardware problems?
Posted By: the_mehmaster

Re: Working env mapping script - 07/29/09 07:55

Quote:
could someone complile a shader environment, so he/she can execute, and see if its code, or hardware problems?

That is what I would like, please.
Environment mapping is very much important to the look of our game..
Any help appreciated, from anyone.
© 2024 lite-C Forums