Frictional Games Forum (read-only)
Enable Parallax Quality for improved texture rendering - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: General Discussion (https://www.frictionalgames.com/forum/forum-18.html)
+--- Thread: Enable Parallax Quality for improved texture rendering (/thread-4696.html)

Pages: 1 2 3 4 5 6 7 8


Enable Parallax Quality for improved texture rendering - Deu sex - 09-23-2010

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 !


RE: HOW TO HAVE A BETTER TEXTURE RENDERING IN AMNESIA ! - nofsky - 09-23-2010

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.


RE: HOW TO HAVE A BETTER TEXTURE RENDERING IN AMNESIA ! - Deu sex - 09-23-2010

(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 ^^


RE: HOW TO HAVE A BETTER TEXTURE RENDERING IN AMNESIA ! - Frontcannon - 09-23-2010

I have no Parallax Quality line in my main_settings_high.cfg Sad

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


RE: HOW TO HAVE A BETTER TEXTURE RENDERING IN AMNESIA ! - Deu sex - 09-23-2010

(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"
/>


RE: HOW TO HAVE A BETTER TEXTURE RENDERING IN AMNESIA ! - Datashocker - 09-23-2010

(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.


RE: HOW TO HAVE A BETTER TEXTURE RENDERING IN AMNESIA ! - Godamit - 09-24-2010

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?


RE: HOW TO HAVE A BETTER TEXTURE RENDERING IN AMNESIA ! - ajvitaly - 09-24-2010

How is it different? Can someone post screen shots?


RE: HOW TO HAVE A BETTER TEXTURE RENDERING IN AMNESIA ! - Datashocker - 09-24-2010

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/361998sans_parallax_2.jpg

With Parallax
http://img11.hostingpics.net/pics/955627avec_parallax_2.jpg


RE: HOW TO HAVE A BETTER TEXTURE RENDERING IN AMNESIA ! - Thomas - 09-24-2010

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.