Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Models and Media / Post Processing Pack - Camera Lens Effects

Author
Message
Akanto10
14
Years of Service
User Offline
Joined: 24th Apr 2010
Location: Earth
Posted: 31st Aug 2012 23:08
I see. Thank you! Great work by the way.

Thanks,
Akanto

| Windows 7 Home Premium 64 - Bit | AMD Athlon II X4 630 @ 2.8GHz | Nvidia GeForce GTX 460 1GB | 6GB DDR3 RAM | 1TB HDD |
Corno_1
13
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 1st Sep 2012 16:48
Quote: "What texture are you using to control the spec?"

Upps i use the normalmap as spec
Sry i fix it

Corno

Public void likeFpsc{ System.out.println("I like FPSC!" ) ;}
http://forum.thegamecreators.com/?m=forum_view&t=196656&b=24
Burger
11
Years of Service
User Offline
Joined: 22nd Jun 2012
Location: New Zealand
Posted: 5th Sep 2012 09:13 Edited at: 5th Sep 2012 09:13
When I have a script that uses plrwithinzone=0:setposteffect=multi and a loop so that the lens flare stays on my screen reduces the gameplay down to a 5-7 frame rate. Is that really meant to be like that? Otherwise I have to have huge trigger zones in my levels.

But anyway an excellent job with all of these shaders, its great of you to release them for free.

"I'm inspired by my own wise quotes, thank you." - Burger, 6/7/12
uzi idiot
Valued Member
14
Years of Service
User Offline
Joined: 27th Dec 2009
Location: Who Knows?
Posted: 5th Sep 2012 12:10
Just use this
Quote: "

;Artificial Intelligence Script

;Header

desc =

;Triggers
:state=0,plrwithinzone=1:state=1
:state=1:setposteffect=multi,state=3

:state=3,plrwithinzone=1:state=4
:state=3,plrwithinzone=0:state=0

:state=4:state=3

"


You don't need to make it loop, one the post effect is set it will stay on that effect until you change it again.

If something compiles on the first try. Something is terribly wrong.
sic1ne
13
Years of Service
User Offline
Joined: 23rd Sep 2010
Location:
Posted: 6th Sep 2012 00:48
can you make a post fx shader that looks kinda like a sepia shader like in the picture below!!! i was hopin it would kinda make all my entities in my game match more? let me no thanks!

Attachments

Login to view attachments
Tomik18
FPSC Reloaded TGC Backer
14
Years of Service
User Offline
Joined: 8th May 2009
Location: Slovakia
Posted: 6th Sep 2012 20:47
effects do not work. I have v1.19 how can ia setup effect ? i copy file in to postprocess folder

My PC specs: AMD Phenom X4 B60 3,30Ghz
4 GB RAM
GTX 560 1GB DDR5
uzi idiot
Valued Member
14
Years of Service
User Offline
Joined: 27th Dec 2009
Location: Who Knows?
Posted: 6th Sep 2012 22:01 Edited at: 7th Sep 2012 09:16
@sic1ne: here you go

@Tomik18: Have you also copied over the scripts into the script bank and set the script to a trigger zone?

If something compiles on the first try. Something is terribly wrong.

Attachments

Login to view attachments
Tomik18
FPSC Reloaded TGC Backer
14
Years of Service
User Offline
Joined: 8th May 2009
Location: Slovakia
Posted: 6th Sep 2012 22:19
where is the script ?

My PC specs: AMD Phenom X4 B60 3,30Ghz
4 GB RAM
GTX 560 1GB DDR5
uzi idiot
Valued Member
14
Years of Service
User Offline
Joined: 27th Dec 2009
Location: Who Knows?
Posted: 6th Sep 2012 23:36
Hold on, what shader are you talking about?

If something compiles on the first try. Something is terribly wrong.
sic1ne
13
Years of Service
User Offline
Joined: 23rd Sep 2010
Location:
Posted: 7th Sep 2012 03:32
@ uzi thanks dude were is the link to the post fx?

Tomik18
FPSC Reloaded TGC Backer
14
Years of Service
User Offline
Joined: 8th May 2009
Location: Slovakia
Posted: 7th Sep 2012 08:16
i talking about shader on the fisrst post on first page

My PC specs: AMD Phenom X4 B60 3,30Ghz
4 GB RAM
GTX 560 1GB DDR5
uzi idiot
Valued Member
14
Years of Service
User Offline
Joined: 27th Dec 2009
Location: Who Knows?
Posted: 7th Sep 2012 09:22
@sic1ne: Sorry, I forgot to attach it

@Tomik18: You need to rename the shader you wish to use to multi.fx and put this script into the posteffects folder in the script bank.
Quote: "
;Artificial Intelligence Script

;Header

desc =

;Triggers
:state=0,plrwithinzone=1:state=1
:state=1:setposteffect=multi,state=3

:state=3,plrwithinzone=1:state=4
:state=3,plrwithinzone=0:state=0

:state=4:state=3
"


If something compiles on the first try. Something is terribly wrong.
sic1ne
13
Years of Service
User Offline
Joined: 23rd Sep 2010
Location:
Posted: 7th Sep 2012 14:46 Edited at: 7th Sep 2012 14:58
@uzi thanks so much bro hey i placed the sepia post fx u made me in the post effects folder but when i try load the fx into a triggerzone the post fx is not visible in my post fx folder? i most deff placed it there i can see it in my folder but if i go to post fx and i click on triggerzone and try to load the post fx up its not in my folder? any ideahs do i need a script for this? if so i am not capable of scripting sorry bro

uzi idiot
Valued Member
14
Years of Service
User Offline
Joined: 27th Dec 2009
Location: Who Knows?
Posted: 7th Sep 2012 17:55 Edited at: 7th Sep 2012 17:57
@sic1ne It should work, just put the shader into the effectbank/postprocess folder then put this script into the scriptbank
Quote: "

;Artificial Intelligence Script

;Header

desc =

;Triggers
:state=0,plrwithinzone=1:state=1
:state=1:setposteffect=bleachbypass_sepia,state=3

:state=3,plrwithinzone=1:state=4
:state=3,plrwithinzone=0:state=0

:state=4:state=3
"


If something compiles on the first try. Something is terribly wrong.
sic1ne
13
Years of Service
User Offline
Joined: 23rd Sep 2010
Location:
Posted: 7th Sep 2012 19:03
it was the script i was missing i guess lol thanks s much bro!

sic1ne
13
Years of Service
User Offline
Joined: 23rd Sep 2010
Location:
Posted: 7th Sep 2012 19:07
i was wondering uzi is it possible to make a thermal looking shader that makes the enimies look thermal like im using goggles?

Attachments

Login to view attachments
uzi idiot
Valued Member
14
Years of Service
User Offline
Joined: 27th Dec 2009
Location: Who Knows?
Posted: 7th Sep 2012 20:25
This character should work fine.

If something compiles on the first try. Something is terribly wrong.

Attachments

Login to view attachments
sic1ne
13
Years of Service
User Offline
Joined: 23rd Sep 2010
Location:
Posted: 7th Sep 2012 21:34
wow awsome do i need a script for this lol? i dont know how to script!

uzi idiot
Valued Member
14
Years of Service
User Offline
Joined: 27th Dec 2009
Location: Who Knows?
Posted: 7th Sep 2012 21:41
To change what effect a script tuns just change this part

:state=1:setposteffect=shader here,state=3

change that to the name of the effect you want.

If something compiles on the first try. Something is terribly wrong.
sic1ne
13
Years of Service
User Offline
Joined: 23rd Sep 2010
Location:
Posted: 7th Sep 2012 21:59 Edited at: 7th Sep 2012 22:06
ohh gotcha what do i name it cause u made the fx or does it not matter? im learnin slowly lol i tried to name it thermal_vision but when i stepped into the triggerzone my game crashed lol sorry bro im tryn to learn


Artificial Intelligence Script

;Header

desc =

;Triggers
:state=0,plrwithinzone=1:state=1
:state=1:setposteffect= what name do i type here,state=3

:state=3,plrwithinzone=1:state=4
:state=3,plrwithinzone=0:state=0

:state=4:state=3
"

uzi idiot
Valued Member
14
Years of Service
User Offline
Joined: 27th Dec 2009
Location: Who Knows?
Posted: 7th Sep 2012 22:15
Oh damn I forgot to mention that is an character shader.
You just need to set that shader as the effect for a character.

If something compiles on the first try. Something is terribly wrong.
sic1ne
13
Years of Service
User Offline
Joined: 23rd Sep 2010
Location:
Posted: 7th Sep 2012 22:33 Edited at: 7th Sep 2012 22:34
hey uzi that is a cool fx hey how could i achieve the look of thermal gogles like the character glows now it looks sick but there is no full screen shader or anything giving it the fx like im wearing goggles? any ideahs? and thanks this is awsome

uzi idiot
Valued Member
14
Years of Service
User Offline
Joined: 27th Dec 2009
Location: Who Knows?
Posted: 7th Sep 2012 22:50
Try the default night vision or gas mask effect.

If something compiles on the first try. Something is terribly wrong.
sic1ne
13
Years of Service
User Offline
Joined: 23rd Sep 2010
Location:
Posted: 7th Sep 2012 23:26
gotcha good ideah thx bro!

Burger
11
Years of Service
User Offline
Joined: 22nd Jun 2012
Location: New Zealand
Posted: 8th Sep 2012 07:43
Thanks a lot Uzi Idiot, these shaders just help improve the game that bit more. Battlefield 3 was mentioned in some of those eariler posts, and I'd have to completely agree that these shaders (especially lens flare) remind me of battlefield 3. Very well done, greatly appreciated.

"I'm inspired by my own wise quotes, thank you." - Burger, 6/7/12
MintMarkus
11
Years of Service
User Offline
Joined: 7th Sep 2012
Location:
Posted: 10th Sep 2012 21:48
@Uzi Idiot

Is there a way to have illuminationmap.fx compiled with Bond 1's ps3 entity shader?
uzi idiot
Valued Member
14
Years of Service
User Offline
Joined: 27th Dec 2009
Location: Who Knows?
Posted: 11th Sep 2012 09:37
I couldn't get it exactly, but I could get it to use the diffusemap's alpha for illumination.
This should work.

If something compiles on the first try. Something is terribly wrong.

Attachments

Login to view attachments
sic1ne
13
Years of Service
User Offline
Joined: 23rd Sep 2010
Location:
Posted: 19th Sep 2012 23:31
whats up uzi sorry to ask you again but my pc crashed and i lost my old project so i have to start new i was wondering if you could make a shader that would look great for a horror/survival game something like you would see in a old horror movie almost but not black in white just vintage looking? like THE 1970"S feel like texas chainsaw massacure the devils rejects something like that if you can help! thanks

uzi idiot
Valued Member
14
Years of Service
User Offline
Joined: 27th Dec 2009
Location: Who Knows?
Posted: 20th Sep 2012 21:46
Does this look alright?

If something compiles on the first try. Something is terribly wrong.

Attachments

Login to view attachments
sic1ne
13
Years of Service
User Offline
Joined: 23rd Sep 2010
Location:
Posted: 21st Sep 2012 03:01
can you tell me what i did wrong with my script?

;Header

desc =

;Triggers
:state=0,plrwithinzone=1:state=1
:state=1:setposteffect=1970s horrorfx,state=3

:state=3,plrwithinzone=1:state=4
:state=3,plrwithinzone=0:state=0

:state=4:state=3
"

the shader will not turn on when i enter a zone im shure i did something wrong naming the script lol sorry bro ur help is very much appreciated!! i cant thank you enough for theese shaders!

kingofmk98
12
Years of Service
User Offline
Joined: 30th Jul 2011
Location: Everywhere
Posted: 21st Sep 2012 04:40
dont add fx to your post effect name in the script

sic1ne
13
Years of Service
User Offline
Joined: 23rd Sep 2010
Location:
Posted: 21st Sep 2012 05:22
thanks kingofmk98 and @ uzi the fx is perfect thanks!

uzi idiot
Valued Member
14
Years of Service
User Offline
Joined: 27th Dec 2009
Location: Who Knows?
Posted: 21st Sep 2012 09:14
rename the shader to 1970_horror, and use this script.
Quote: ";Artificial Intelligence Script

;Header

desc =

;Triggers
:state=0,plrwithinzone=1:state=1
:state=1:setposteffect=1970_horror,state=3

:state=3,plrwithinzone=1:state=4
:state=3,plrwithinzone=0:state=0

:state=4:state=3
"


I think it was the space that was messing it up.

If something compiles on the first try. Something is terribly wrong.
sic1ne
13
Years of Service
User Offline
Joined: 23rd Sep 2010
Location:
Posted: 21st Sep 2012 19:03
i got the script to work by taking out the fx part and adding the underscore thanks dude the shader looks sick!!!

DarkJames
14
Years of Service
User Offline
Joined: 11th Aug 2009
Location:
Posted: 2nd Oct 2012 19:40
Hmm, Wondering, Uzi, is there anyway to get an "Inverse" Light ray shader? This, combined with TZK's flashlight script, could be the dynamic shadows - flashlight we are looking for! haha, well,Is there anyway to merge a post-process with a script, say, the post-effect becomes active once you turn on the flashlight, and deactivates when you turn it off?

------
uzi idiot
Valued Member
14
Years of Service
User Offline
Joined: 27th Dec 2009
Location: Who Knows?
Posted: 2nd Oct 2012 20:10
That's a very cool idea, but I'm afraid I have totally no idea how to do it.
I really wish I could help, but I can't. Sorry.

If something compiles on the first try. Something is terribly wrong.
Soviet176
14
Years of Service
User Offline
Joined: 19th Sep 2009
Location: Volgograd
Posted: 2nd Oct 2012 22:06
Hi Uzi, I only just got around to actually downloading some of these awesome shaders. You really have gone above and beyond what many people would do. I only have one question.

I am confused on how I can get your pulsing pain shader to work in my game. Is there a way I can call it in my setuplevel.fpi to appear when I am below a certain health, and then disappear when you respawn? Not sure how I would go about this.

Thank you!

uzi idiot
Valued Member
14
Years of Service
User Offline
Joined: 27th Dec 2009
Location: Who Knows?
Posted: 2nd Oct 2012 22:24
I'm not very good at scripting but try this



I'm not sure if that'll work, but I think something like that should work.

If something compiles on the first try. Something is terribly wrong.
Omegamer
15
Years of Service
User Offline
Joined: 25th Feb 2009
Location: There
Posted: 11th Oct 2012 17:17
Hey uzi, just wanted to ask if you have the time to edit the lens flare shader and add motion blut to it?

I would really love that
I would credit you too of course^^
uzi idiot
Valued Member
14
Years of Service
User Offline
Joined: 27th Dec 2009
Location: Who Knows?
Posted: 11th Oct 2012 18:23 Edited at: 11th Oct 2012 21:14
Here you go, have fun

If something compiles on the first try. Something is terribly wrong.

Attachments

Login to view attachments
Omegamer
15
Years of Service
User Offline
Joined: 25th Feb 2009
Location: There
Posted: 11th Oct 2012 20:21
Link missing

But first of all thx for doing all the hard work for free, I think we all love you for that
uzi idiot
Valued Member
14
Years of Service
User Offline
Joined: 27th Dec 2009
Location: Who Knows?
Posted: 11th Oct 2012 21:15
Sorry for forgetting the link.

If something compiles on the first try. Something is terribly wrong.
Omegamer
15
Years of Service
User Offline
Joined: 25th Feb 2009
Location: There
Posted: 11th Oct 2012 21:53
No problem mate, will try it ASAP thank you for spending time in helping us with shaders
Burger
11
Years of Service
User Offline
Joined: 22nd Jun 2012
Location: New Zealand
Posted: 22nd Nov 2012 07:17
Hi Uzi Idiot, hopefully you will still be looking over this thread.
Can you show me where to change the colour of pain_pulse to a green/dark green? I really dont understand all the coding in a shader and could spend days looking for it. I figured it was an easy edit, so I thought I'd ask anyway. Thanks

"I'm inspired by my own wise quotes, thank you." - Burger, 6/7/12
uzi idiot
Valued Member
14
Years of Service
User Offline
Joined: 27th Dec 2009
Location: Who Knows?
Posted: 22nd Nov 2012 08:28
This should work, all I did was find the lines
Quote: " ScreenMap +=tex2D(srcTex, (IN.Tex1*0.99f)+0.005f)*(1-dist)*float4(1,0.35,0.35,1);
ScreenMap +=tex2D(srcTex, (IN.Tex1*0.98f)+0.01f)*(1-dist)*float4(1,0.30,0.30,1);
ScreenMap +=tex2D(srcTex, (IN.Tex1*0.97f)+0.015f)*(1-dist)*float4(1,0.25,0.25,1);
ScreenMap +=tex2D(srcTex, (IN.Tex1*0.96f)+0.02f)*(1-dist)*float4(1,0.20,0.20,1);
ScreenMap +=tex2D(srcTex, (IN.Tex1*0.95f)+0.025f)*(1-dist)*float4(1,0.15,0.15,1)*pulsing;
ScreenMap +=tex2D(srcTex, (IN.Tex1*0.94f)+0.03f)*(1-dist)*float4(1,0.1,0.1,1)*pulsing;
ScreenMap +=tex2D(srcTex, (IN.Tex1*0.93f)+0.035f)*(1-dist)*float4(1,0.05,0.05,1)*pulsing;
ScreenMap +=tex2D(srcTex, (IN.Tex1*0.92f)+0.04f)*(1-dist)*float4(1,0.0,0.0,1)*pulsing;
"


and I changed the float4 values (which stand for RGBA) to a green colour. For example I changed the first line
Quote: "float4(1,0.35,0.35,1)"
to
Quote: "float4(0.35,.5,0.35,1)"
.

If something compiles on the first try. Something is terribly wrong.

Attachments

Login to view attachments
Burger
11
Years of Service
User Offline
Joined: 22nd Jun 2012
Location: New Zealand
Posted: 22nd Nov 2012 08:53
Thanks for that and the quick response, it will really come in handy for my game.

"I'm inspired by my own wise quotes, thank you." - Burger, 6/7/12
AmazingGaming
11
Years of Service
User Offline
Joined: 23rd Sep 2012
Location: Good Question....
Posted: 24th Nov 2012 12:38
wow i have been going through the pages of this post..and i am very confused!

my main questions...

1. How do you install?

2. I see there are alot of different downloads for different things and fixes etc. Which one do i download?

3. I use V1.18, is this good? or do i need to use V1.19 or higher?

Please help me out here, this looks amazing! and would really improve my game if i could just figure out how to install this correctly
uzi idiot
Valued Member
14
Years of Service
User Offline
Joined: 27th Dec 2009
Location: Who Knows?
Posted: 24th Nov 2012 14:00 Edited at: 24th Nov 2012 14:01
1. If you're talking about the shaders on the original post, to install for 1.19 or higher just put the shaders onto your Files\effectbank\postprocess folder and rename the Lens shader you want to multi.fx

Then in a level, place a triggerzone and find a script called multi.fpi and use that as the main script. If you don't have the script I have it attached to this post.
Once you walk into this triggerzone ingame, the effect will be activated.

To have it on all of the time, go to Files\languagebank\english\gamebank\mygame and open the script named setuplevel.fpi and add the line
:state=0:setposteffect=multi

2. The one on the first post should be the most recent version, but throughout this thread there are ones I made on request.

3. I think only anamorphic_bloom will work in 1.18 so I recommend 1.19 or high because the lens shaders require the ability to use textures to work.

I hope this helps

If something compiles on the first try. Something is terribly wrong.

Attachments

Login to view attachments
AmazingGaming
11
Years of Service
User Offline
Joined: 23rd Sep 2012
Location: Good Question....
Posted: 24th Nov 2012 14:37
I am sorry but it isnt working! more questions I have..



1. Does the light have to be Dynamic or Static?
2. Does there have to be a entity with it?

I did everything you said and i even moved up to V1.19 just for the textures.

also here is the image of what i did



Can you see what i did wrong here?
AmazingGaming
11
Years of Service
User Offline
Joined: 23rd Sep 2012
Location: Good Question....
Posted: 24th Nov 2012 14:38
I am sorry for double post! but the link didnt work so here

http://gyazo.com/a2495fcda80f2b8977047ba43471cd77

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-04-30 11:09:48
Your offset time is: 2024-04-30 11:09:48