View Issue Details

IDProjectCategoryView StatusLast Update
0003910Spring engineGeneralpublic2013-08-02 10:53
ReporterThe_Yak Assigned Toabma  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version94.1.1+git 
Summary0003910: Attempting to use Parallax mapping causes Fragment shader failure
DescriptionUsage of a neutral parallax map as described by Kloot in this thread (http://springrts.com/phpbb/viewtopic.php?f=13&t=29108) results in a totally white map and shader errors.

The same map works when loaded in 94.1 but fails in latest dev builds.

Local testing reveals parallax mapping was broken somewhere between 94.1.1-423-g2a89870 and 94.1.1-594-g8f53c96

Screenshot of neutral parallax map "working" here: http://imgur.com/FR1ozIb
In latest dev builds this is the result: http://i.imgur.com/d3TYZ1P.png

Relevant infolog here: http://paste.springfiles.com/view/c72f54d4

Error in question:

[Shader] Warning: [Compile]
shader-object name: GLSL/SMFFragProg.glsl, compile-log:
Fragment shader failed to compile with the following errors:
ERROR: 6:209: error(0000143) Undeclared identifier specularTexCoords
ERROR: 6:209: error(0000202) No matching overloaded function found GetParallaxUVOffset
WARNING: 6:209: warning(0000402) Implicit truncation of vector from size 1 to size 2.
ERROR: error(0000273) 2 compilation errors. No code generated
Steps To ReproduceSet parallaxHeightTex=parallaxmapname.png; in mapconfig and load map
Additional InformationWindows 7 64bit
AMD Radeon HD 6800 Series
Catalyst 12.8
TagsNo tags attached.
Attached Files
mantis3910.diff (Attachment missing)
Checked infolog.txt for Errors

Activities

The_Yak

2013-08-01 18:31

reporter   ~0011134

Specular Map and Parallax Map are both 1024x1024

Issue History

Date Modified Username Field Change
2013-08-01 17:18 The_Yak New Issue
2013-08-01 18:04 Kloot File Added: mantis3910.diff
2013-08-01 18:31 The_Yak Note Added: 0011134
2013-08-02 10:53 abma Changeset attached => spring develop da40821c
2013-08-02 10:53 abma Assigned To => abma
2013-08-02 10:53 abma Status new => resolved
2013-08-02 10:53 abma Resolution open => fixed