JuanCarlosAragon / jmonkeyengine

Automatically exported from code.google.com/p/jmonkeyengine
0 stars 0 forks source link

Fragment shader failed to compile #325

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. create a new project
2.download (copy/past) sample code from : 
http://code.google.com/p/jmonkeyengine/source/browse/trunk/engine/src/test/jme3t
est/bullet/TestWalkingChar.java
3. insert the code into new project
4. compile
5. run

What is the expected output? What do you see instead?
expected to run , instead crash with following error:

Apr 6, 2011 8:45:41 AM com.jme3.renderer.lwjgl.LwjglRenderer 
updateShaderSourceData
WARNING: Bad compile of:
#define HAS_GLOWMAP 1
#extension GL_ARB_texture_multisample : enable ...

What version of the product are you using? On what operating system?

Product Version: jMonkeyPlatform Alpha-4
Java: 1.6.0_24; Java HotSpot(TM) Server VM 19.1-b02
System: Windows XP version 5.1 running on x86; Cp1252; en_US (jmonkeyplatform)
Userdir: C:\Documents and Settings\carlos\Application Data\.jmonkeyplatform\dev

Please provide any additional information below.

Original issue reported on code.google.com by cea...@gmail.com on 6 Apr 2011 at 7:57

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hi!

this problem has to do with the setupFilter function. 
when I comment the call to the setupFilter function, the problem ceases to 
exist.
this problem happens in both TestWalkingChar and TestPhysics developed by nego.

http://jmonkeyengine.org/groups/user-code-projects/forum/topic/complete-forcecha
ractercontrol/

 private void setupFilter() {
        FilterPostProcessor fpp = new FilterPostProcessor(assetManager);
        BloomFilter bloom = new BloomFilter(BloomFilter.GlowMode.Objects);
        fpp.addFilter(bloom);
        viewPort.addProcessor(fpp);
    }

Original comment by cea...@gmail.com on 14 Apr 2011 at 5:19

GoogleCodeExporter commented 8 years ago
My card settings

Renderer: ATI Mobility Radeon HD 3430
Vendor: ATI Technologies Inc.
Memory: 512 MB
Version: 3.2.9606 Forward-Compatible Context
Shading language version: 1.50

Max texture size: 8192 x 8192
Max texture coordinates: 0
Max vertex texture image units: 16
Max texture image units: 16
Max geometry texture units: 32
Max anisotropic filtering value: 16
Max viewport size: 8192 x 8192
Max uniform vertex components: 1024
Max uniform fragment components: 1024
Max geometry uniform components: 4096
Max varying floats: 64
Max samples: 4
Max draw buffers: 8

Original comment by cea...@gmail.com on 16 Apr 2011 at 9:05

Attachments:

GoogleCodeExporter commented 8 years ago
closing old, applied, invalid and wrongly posted issues, all people searching 
for help please use the forum at jmonkeyengine.org

Original comment by normen667 on 7 Jun 2011 at 11:44