Frictional Games Forum (read-only)

Full Version: Enable Parallax Quality for improved texture rendering
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8
Thanks to a guy called 'sgi', we now have the possibility to enable the true parallax occlusion mapping effect in Amnesia, the dark descent.

Follow thoose instructions :

in the amnesia files, go to the folder : "core" , and after, "shader", and edit the file "deferred_gbuffer_solid_frag.glsl"

at the RELIEF PARALLAX section, there will be a line, its :

RayLinearIntersectionSM3(aHeightMap, fSteps, vHeightMapPos, vEyeVec);

change it to :

RayLinearIntersectionSM2(aHeightMap, vHeightMapPos, vEyeVec);

be careful with the SM3 at SM2 change !!

save the file and close it.




after, go to the folder "launcher" and edit the file "default_main_settings_high.cfg"

go to the line :

ParallaxQuality="0"

and change it to :

ParallaxQuality="1"

save the file and close it.




now launch the game's menu, set "medium" at the graphics settings, and immediatly after, set "high".

launch the game and you will see the difference about texture 3D rendering !
Nice find! It works a lot better now, actually I didn't notice any slowdown at all.

I did notice some graphical errors on the textures in the "cistern entrance" map, on the floor of the center pillar and bridge.
(09-23-2010, 05:59 PM)nofsky Wrote: [ -> ]Nice find! It works a lot better now, actually I didn't notice any slowdown at all.

I did notice some graphical errors on the textures in the "cistern entrance" map, on the floor of the center pillar and bridge.

really ? shit... need to improve this more as I see...
just tested it, there is no texture problems, just a little bit abused parallaxed texure buts thats not really disturbing, really less thant the "oil color" effect from bump mapping ^^
I have no Parallax Quality line in my main_settings_high.cfg Sad

I added it, but I couldn't really see any difference.
(09-23-2010, 08:52 PM)Frontcannon Wrote: [ -> ]I have no Parallax Quality line in my main_settings_high.cfg Sad

I added it, but I couldn't really see any difference.

?

this is the file :

<Graphics
ShadowQuality="2"
ShadowResolution="2"

WorldReflection="true"

SSAOActive="true"
SSAOResolution="0"
SSAOSamples="16"

TextureFilter="2"
TextureAnisotropy="16"

EdgeSmooth="true"

ParallaxEnabled="true"
ParallaxQuality="1"
/>
(09-23-2010, 08:52 PM)Frontcannon Wrote: [ -> ]I have no Parallax Quality line in my main_settings_high.cfg Sad

I added it, but I couldn't really see any difference.

If on Windows,
Check in your C:\Users\"YourUserName"\Documents\Amnesia\Main

There should be a file called "main_settings.cfg". Open this in a text editor and find "ParallaxQuality". Change the setting from 0 to 1, then save. Start Amnesia, make sure that Parallax is on in the launcher, and play. The difference should be easy to see.
I tried this, followed it LINE FOR LINE, yet when I started the game I was receiving some graphical glitches. the glitch in graphics was just a single, or a couple of bars across the screen. and the performance was not improved?
How is it different? Can someone post screen shots?
Parallax is like bump-mapping to the extreme. It can take a flat surface, and make it look like a complicated 3d model.

Taken from the Parallax thread in the Tech Forum:


Modified POM is what you will get with the above method
[Image: 2w3nmfm.jpg]


Without Parallax
http://img11.hostingpics.net/pics/361998...llax_2.jpg

With Parallax
http://img11.hostingpics.net/pics/955627...llax_2.jpg
For more fun and power demanding stuff you can change the render type:
GBufferType="0"
to
GBufferType="1"

Should make shadows follow according to the offset in texture.

It was a while since I tested it, but it should work.
Pages: 1 2 3 4 5 6 7 8